Index: tools/gn/functions.cc |
diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc |
index d3d5d252bd27a2a4b7b0f12c9afeee04714c1387..fb02fa8bf9b8a6e4cfc371d248775f0095e5cda2 100644 |
--- a/tools/gn/functions.cc |
+++ b/tools/gn/functions.cc |
@@ -5,8 +5,8 @@ |
#include "tools/gn/functions.h" |
#include <stddef.h> |
- |
#include <iostream> |
+#include <utility> |
#include "base/environment.h" |
#include "base/strings/string_util.h" |
@@ -673,7 +673,7 @@ Value RunSetSourcesAssignmentFilter(Scope* scope, |
scoped_ptr<PatternList> f(new PatternList); |
f->SetFromValue(args[0], err); |
if (!err->has_error()) |
- scope->set_sources_assignment_filter(f.Pass()); |
+ scope->set_sources_assignment_filter(std::move(f)); |
} |
return Value(); |
} |