@@ -83,7 +83,7 @@ static std::unique_ptr<Socket> CreateFDSocket(int fd) {
8383 DS2LOG (Error, " cannot use fd %d: refers to a terminal" , fd);
8484 }
8585
86- auto socket = ds2 ::make_unique<Socket>(fd);
86+ auto socket = std ::make_unique<Socket>(fd);
8787
8888 return socket;
8989}
@@ -95,7 +95,7 @@ static std::unique_ptr<Socket> CreateFDSocket(int fd) {
9595static std::unique_ptr<Socket> CreateTCPSocket (std::string const &host,
9696 std::string const &port,
9797 bool reverse) {
98- auto socket = ds2 ::make_unique<Socket>();
98+ auto socket = std ::make_unique<Socket>();
9999
100100 if (reverse) {
101101 if (!socket->connect (host, port)) {
@@ -136,7 +136,7 @@ static std::unique_ptr<Socket> CreateUNIXSocket(std::string const &path,
136136 DS2LOG (Fatal, " reverse connections not supported with UNIX sockets" );
137137 }
138138
139- auto socket = ds2 ::make_unique<Socket>();
139+ auto socket = std ::make_unique<Socket>();
140140
141141 if (!socket->listen (path, abstract)) {
142142 DS2LOG (Fatal, " cannot listen on %s: %s" , path.c_str (),
@@ -499,11 +499,11 @@ static int GdbserverMain(int argc, char **argv) {
499499 std::unique_ptr<DebugSessionImpl> impl;
500500
501501 if (attachPid > 0 )
502- impl = ds2 ::make_unique<DebugSessionImpl>(attachPid);
502+ impl = std ::make_unique<DebugSessionImpl>(attachPid);
503503 else if (args.size () > 0 )
504- impl = ds2 ::make_unique<DebugSessionImpl>(args, env);
504+ impl = std ::make_unique<DebugSessionImpl>(args, env);
505505 else
506- impl = ds2 ::make_unique<DebugSessionImpl>();
506+ impl = std ::make_unique<DebugSessionImpl>();
507507
508508 return RunDebugServer (channel.get (), impl.get ());
509509}
@@ -550,7 +550,7 @@ static int PlatformMain(int argc, char **argv) {
550550 do {
551551 std::unique_ptr<Socket> clientSocket = serverSocket->accept ();
552552 auto platformClient =
553- ds2 ::make_unique<PlatformClient>(std::move (clientSocket));
553+ std ::make_unique<PlatformClient>(std::move (clientSocket));
554554
555555 std::thread thread (
556556 [](std::unique_ptr<PlatformClient> client) {
0 commit comments