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 |