@@ -83,7 +83,7 @@ static std::unique_ptr<Socket> CreateFDSocket(int fd) {
83
83
DS2LOG (Error, " cannot use fd %d: refers to a terminal" , fd);
84
84
}
85
85
86
- auto socket = ds2 ::make_unique<Socket>(fd);
86
+ auto socket = std ::make_unique<Socket>(fd);
87
87
88
88
return socket;
89
89
}
@@ -95,7 +95,7 @@ static std::unique_ptr<Socket> CreateFDSocket(int fd) {
95
95
static std::unique_ptr<Socket> CreateTCPSocket (std::string const &host,
96
96
std::string const &port,
97
97
bool reverse) {
98
- auto socket = ds2 ::make_unique<Socket>();
98
+ auto socket = std ::make_unique<Socket>();
99
99
100
100
if (reverse) {
101
101
if (!socket->connect (host, port)) {
@@ -136,7 +136,7 @@ static std::unique_ptr<Socket> CreateUNIXSocket(std::string const &path,
136
136
DS2LOG (Fatal, " reverse connections not supported with UNIX sockets" );
137
137
}
138
138
139
- auto socket = ds2 ::make_unique<Socket>();
139
+ auto socket = std ::make_unique<Socket>();
140
140
141
141
if (!socket->listen (path, abstract)) {
142
142
DS2LOG (Fatal, " cannot listen on %s: %s" , path.c_str (),
@@ -499,11 +499,11 @@ static int GdbserverMain(int argc, char **argv) {
499
499
std::unique_ptr<DebugSessionImpl> impl;
500
500
501
501
if (attachPid > 0 )
502
- impl = ds2 ::make_unique<DebugSessionImpl>(attachPid);
502
+ impl = std ::make_unique<DebugSessionImpl>(attachPid);
503
503
else if (args.size () > 0 )
504
- impl = ds2 ::make_unique<DebugSessionImpl>(args, env);
504
+ impl = std ::make_unique<DebugSessionImpl>(args, env);
505
505
else
506
- impl = ds2 ::make_unique<DebugSessionImpl>();
506
+ impl = std ::make_unique<DebugSessionImpl>();
507
507
508
508
return RunDebugServer (channel.get (), impl.get ());
509
509
}
@@ -550,7 +550,7 @@ static int PlatformMain(int argc, char **argv) {
550
550
do {
551
551
std::unique_ptr<Socket> clientSocket = serverSocket->accept ();
552
552
auto platformClient =
553
- ds2 ::make_unique<PlatformClient>(std::move (clientSocket));
553
+ std ::make_unique<PlatformClient>(std::move (clientSocket));
554
554
555
555
std::thread thread (
556
556
[](std::unique_ptr<PlatformClient> client) {
0 commit comments