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

Unified Diff: tools/gn/build_settings.h

Issue 1544333002: Convert Pass()→std::move() in //tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | tools/gn/build_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/build_settings.h
diff --git a/tools/gn/build_settings.h b/tools/gn/build_settings.h
index 71d0fb96f77f59421851aa424bd5f5e469c15cf7..8fe2ce91415b596a5005f69cfb8f35930b60e82a 100644
--- a/tools/gn/build_settings.h
+++ b/tools/gn/build_settings.h
@@ -7,6 +7,7 @@
#include <map>
#include <set>
+#include <utility>
#include "base/callback.h"
#include "base/files/file_path.h"
@@ -91,7 +92,7 @@ class BuildSettings {
return exec_script_whitelist_.get();
}
void set_exec_script_whitelist(scoped_ptr<std::set<SourceFile>> list) {
- exec_script_whitelist_ = list.Pass();
+ exec_script_whitelist_ = std::move(list);
}
// When set (the default), code should perform normal validation of inputs
« no previous file with comments | « no previous file | tools/gn/build_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698