Index: webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm |
diff --git a/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm b/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm |
index 2c99cfe61e64005773100fc1de547da45dc08a94..3413dfc039a6a9bb63c2fca544d03c8a644e0ce4 100644 |
--- a/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm |
+++ b/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm |
@@ -10,6 +10,8 @@ |
#import <Foundation/Foundation.h> |
+#include <memory> |
+ |
#include "webrtc/base/gunit.h" |
#import "NSString+StdString.h" |
@@ -29,7 +31,7 @@ |
RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc] |
initWithMandatoryConstraints:mandatory |
optionalConstraints:optional]; |
- rtc::scoped_ptr<webrtc::MediaConstraints> nativeConstraints = |
+ std::unique_ptr<webrtc::MediaConstraints> nativeConstraints = |
[constraints nativeConstraints]; |
webrtc::MediaConstraintsInterface::Constraints nativeMandatory = |