Index: webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm |
diff --git a/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm b/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm |
index 6d751ccdb8be9a4e6236934912b981b5e3327b81..20a9d739a96a34ab1d2f518849955d83ceec287f 100644 |
--- a/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm |
+++ b/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm |
@@ -10,6 +10,8 @@ |
#import <Foundation/Foundation.h> |
+#include <memory> |
+ |
#include "webrtc/base/gunit.h" |
#import "NSString+StdString.h" |
@@ -32,7 +34,7 @@ |
sdpMLineIndex:0 |
sdpMid:@"audio"]; |
- rtc::scoped_ptr<webrtc::IceCandidateInterface> nativeCandidate = |
+ std::unique_ptr<webrtc::IceCandidateInterface> nativeCandidate = |
candidate.nativeCandidate; |
EXPECT_EQ("audio", nativeCandidate->sdp_mid()); |
EXPECT_EQ(0, nativeCandidate->sdp_mline_index()); |