Index: webrtc/base/optional_unittest.cc |
diff --git a/webrtc/base/optional_unittest.cc b/webrtc/base/optional_unittest.cc |
index eabf091e17a024924d05c11c1a47ddb5733a10e9..e8c257a02491d2c7985e9da3f4b4e5b744591588 100644 |
--- a/webrtc/base/optional_unittest.cc |
+++ b/webrtc/base/optional_unittest.cc |
@@ -65,7 +65,8 @@ class Logger { |
void Foo() { Log("Foo()"); } |
void Foo() const { Log("Foo() const"); } |
static rtc::scoped_ptr<std::vector<std::string>> Setup() { |
- auto s = rtc_make_scoped_ptr(new std::vector<std::string>); |
+ auto s = |
+ rtc::scoped_ptr<std::vector<std::string>>(new std::vector<std::string>); |
Logger::log_ = s.get(); |
tommi
2016/03/15 09:22:09
Wow... Can this just return a vector instead? (mov
kwiberg-webrtc
2016/03/15 09:59:41
Yeah, I was about to send the author a sharply-wor
tommi (sloooow) - chröme
2016/03/15 16:49:00
OK. Btw we shouldn't use auto when it actually ma
kwiberg-webrtc
2016/03/15 18:53:37
Yeah, thanks for catching that. Fixed.
|
Logger::next_id_ = 0; |
return s; |