Index: webrtc/base/natsocketfactory.h |
diff --git a/webrtc/base/natsocketfactory.h b/webrtc/base/natsocketfactory.h |
index 9ca0739440e8ea29e86cf78e63c5ff32cf8227d0..82c2a87eb03b8b700a56b1f71fc866da35b844ef 100644 |
--- a/webrtc/base/natsocketfactory.h |
+++ b/webrtc/base/natsocketfactory.h |
@@ -13,6 +13,7 @@ |
#include <string> |
#include <map> |
+#include <memory> |
#include <set> |
#include "webrtc/base/natserver.h" |
@@ -116,8 +117,8 @@ class NATSocketServer : public SocketServer, public NATInternalSocketFactory { |
private: |
NATSocketServer* server_; |
- scoped_ptr<SocketFactory> internal_factory_; |
- scoped_ptr<NATServer> nat_server_; |
+ std::unique_ptr<SocketFactory> internal_factory_; |
+ std::unique_ptr<NATServer> nat_server_; |
TranslatorMap nats_; |
std::set<SocketAddress> clients_; |
}; |