Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: webrtc/base/scopedptrcollection_unittest.cc

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/rtccertificategenerator_unittest.cc ('k') | webrtc/base/sharedexclusivelock_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/scopedptrcollection_unittest.cc
diff --git a/webrtc/base/scopedptrcollection_unittest.cc b/webrtc/base/scopedptrcollection_unittest.cc
index 933173e3fafabc29718d7d6cc0fe1fadf3be25a2..267b110aae404a4c56791b709ebcb0d36b75ef22 100644
--- a/webrtc/base/scopedptrcollection_unittest.cc
+++ b/webrtc/base/scopedptrcollection_unittest.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "webrtc/base/scopedptrcollection.h"
#include "webrtc/base/gunit.h"
@@ -41,7 +43,7 @@ class ScopedPtrCollectionTest : public testing::Test {
}
int num_instances_;
- scoped_ptr<ScopedPtrCollection<InstanceCounter> > collection_;
+ std::unique_ptr<ScopedPtrCollection<InstanceCounter> > collection_;
};
TEST_F(ScopedPtrCollectionTest, PushBack) {
« no previous file with comments | « webrtc/base/rtccertificategenerator_unittest.cc ('k') | webrtc/base/sharedexclusivelock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698