Index: webrtc/p2p/base/stunserver.h |
diff --git a/webrtc/p2p/base/stunserver.h b/webrtc/p2p/base/stunserver.h |
index a7eeab15445e5c5e26b7a39030d39abef21b4d25..3f7e7de5c2eac9ff9f31e0dc79653ddebecf913b 100644 |
--- a/webrtc/p2p/base/stunserver.h |
+++ b/webrtc/p2p/base/stunserver.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_P2P_BASE_STUNSERVER_H_ |
#define WEBRTC_P2P_BASE_STUNSERVER_H_ |
+#include <memory> |
+ |
#include "webrtc/p2p/base/stun.h" |
#include "webrtc/base/asyncudpsocket.h" |
#include "webrtc/base/scoped_ptr.h" |
@@ -58,7 +60,7 @@ class StunServer : public sigslot::has_slots<> { |
StunMessage* response) const; |
private: |
- rtc::scoped_ptr<rtc::AsyncUDPSocket> socket_; |
+ std::unique_ptr<rtc::AsyncUDPSocket> socket_; |
}; |
} // namespace cricket |