Index: webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm b/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm |
index 7b1e65568b487da0e3b515c99cc60e2dd143acdb..193403d11d8fcfd8157100c426128b64bb30e3f0 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm |
@@ -10,6 +10,8 @@ |
#import "RTCIceCandidate+Private.h" |
+#include <memory> |
+ |
#import "NSString+StdString.h" |
#import "WebRTC/RTCLogging.h" |
@@ -51,7 +53,7 @@ |
sdpMid:[NSString stringForStdString:candidate->sdp_mid()]]; |
} |
-- (rtc::scoped_ptr<webrtc::IceCandidateInterface>)nativeCandidate { |
+- (std::unique_ptr<webrtc::IceCandidateInterface>)nativeCandidate { |
webrtc::SdpParseError error; |
webrtc::IceCandidateInterface *candidate = webrtc::CreateIceCandidate( |
@@ -63,7 +65,7 @@ |
error.line.c_str()); |
} |
- return rtc::scoped_ptr<webrtc::IceCandidateInterface>(candidate); |
+ return std::unique_ptr<webrtc::IceCandidateInterface>(candidate); |
} |
@end |