Index: tools/gn/input_conversion.cc |
diff --git a/tools/gn/input_conversion.cc b/tools/gn/input_conversion.cc |
index cca23e124f742b729d1ded76872a04bc66470091..b43ee121aa2521e66540ec634c958d33bc582c27 100644 |
--- a/tools/gn/input_conversion.cc |
+++ b/tools/gn/input_conversion.cc |
@@ -4,6 +4,8 @@ |
#include "tools/gn/input_conversion.h" |
+#include <utility> |
+ |
#include "base/macros.h" |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
@@ -81,7 +83,7 @@ Value ParseValueOrScope(const Settings* settings, |
// we made, rather than the result of running the block (which will be empty). |
if (what == PARSE_SCOPE) { |
DCHECK(result.type() == Value::NONE); |
- result = Value(origin, scope.Pass()); |
+ result = Value(origin, std::move(scope)); |
} |
return result; |
} |