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

Unified Diff: webrtc/base/optionsfile_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/optional_unittest.cc ('k') | webrtc/base/physicalsocketserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/optionsfile_unittest.cc
diff --git a/webrtc/base/optionsfile_unittest.cc b/webrtc/base/optionsfile_unittest.cc
index bcfb3efcf6fa37795d18bdf1a7efaf08f176df79..f22a2f1f07ebb32f6c4c908d2aca085c18339fdf 100644
--- a/webrtc/base/optionsfile_unittest.cc
+++ b/webrtc/base/optionsfile_unittest.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "webrtc/base/fileutils.h"
#include "webrtc/base/gunit.h"
#include "webrtc/base/optionsfile.h"
@@ -51,7 +53,7 @@ class OptionsFileTest : public testing::Test {
store_.reset(new OptionsFile(test_file_));
}
- rtc::scoped_ptr<OptionsFile> store_;
+ std::unique_ptr<OptionsFile> store_;
private:
std::string test_file_;
« no previous file with comments | « webrtc/base/optional_unittest.cc ('k') | webrtc/base/physicalsocketserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698