Index: tools/gn/scope.h |
diff --git a/tools/gn/scope.h b/tools/gn/scope.h |
index 0b9bfbe48be1c3bf0dae3075ff434fc1b31c78cd..7b329412450ab24ecdf7369faa58c33c41ed84d6 100644 |
--- a/tools/gn/scope.h |
+++ b/tools/gn/scope.h |
@@ -7,6 +7,7 @@ |
#include <map> |
#include <set> |
+#include <utility> |
#include "base/containers/hash_tables.h" |
#include "base/macros.h" |
@@ -240,7 +241,7 @@ class Scope { |
const PatternList* GetSourcesAssignmentFilter() const; |
void set_sources_assignment_filter( |
scoped_ptr<PatternList> f) { |
- sources_assignment_filter_ = f.Pass(); |
+ sources_assignment_filter_ = std::move(f); |
} |
// Indicates if we're currently processing the build configuration file. |