Index: webrtc/base/testechoserver.h |
diff --git a/webrtc/base/testechoserver.h b/webrtc/base/testechoserver.h |
index 51d7d539e4f2d4c06f5b31de6c43dfb1a9de2f69..e87a63f86fa5f63797c595b7fb0636d0d584b1e3 100644 |
--- a/webrtc/base/testechoserver.h |
+++ b/webrtc/base/testechoserver.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_BASE_TESTECHOSERVER_H_ |
#include <list> |
+#include <memory> |
#include "webrtc/base/asynctcpsocket.h" |
#include "webrtc/base/socketaddress.h" |
#include "webrtc/base/sigslot.h" |
@@ -63,7 +64,7 @@ class TestEchoServer : public sigslot::has_slots<> { |
} |
typedef std::list<AsyncTCPSocket*> ClientList; |
- scoped_ptr<AsyncSocket> server_socket_; |
+ std::unique_ptr<AsyncSocket> server_socket_; |
ClientList client_sockets_; |
RTC_DISALLOW_COPY_AND_ASSIGN(TestEchoServer); |
}; |