Skip to content

Commit 5a4484c

Browse files
committed
Merge remote-tracking branch 'origin/main' into clang-tidy
2 parents ead5454 + 00482e3 commit 5a4484c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/IceBT/talk/App.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class OutgoingPeerI final : public Talk::Peer
7777
TalkApp* _app;
7878
};
7979

80-
static string btUUID = "6a193943-1754-4869-8d0a-ddc5f9a2b294";
81-
static string btsUUID = "043257a6-d67c-4000-aa62-2ffe4583d324";
80+
static const char* btUUID = "6a193943-1754-4869-8d0a-ddc5f9a2b294";
81+
static const char* btsUUID = "043257a6-d67c-4000-aa62-2ffe4583d324";
8282

8383
int
8484
main(int argc, char* argv[])
@@ -301,11 +301,11 @@ TalkApp::doConnect(const string& cmd)
301301
string proxy = "peer:";
302302
if (secure)
303303
{
304-
proxy += "bts -a \"" + addr + "\" -u " + btsUUID;
304+
proxy += "bts -a \"" + addr + "\" -u " + string{btsUUID};
305305
}
306306
else
307307
{
308-
proxy += "bt -a \"" + addr + "\" -u " + btUUID;
308+
proxy += "bt -a \"" + addr + "\" -u " + string{btUUID};
309309
}
310310
remote = Ice::uncheckedCast<Talk::PeerPrx>(_communicator->stringToProxy(proxy));
311311
_remote = remote;

0 commit comments

Comments
 (0)