| Index: tools/gn/function_toolchain.cc
|
| diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
|
| index ed4bbc37d96105428eb47585422fbb078c075382..58532551d4f2d65250db6002fbaf675eec20cff7 100644
|
| --- a/tools/gn/function_toolchain.cc
|
| +++ b/tools/gn/function_toolchain.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include <algorithm>
|
| #include <limits>
|
| +#include <utility>
|
|
|
| #include "tools/gn/err.h"
|
| #include "tools/gn/functions.h"
|
| @@ -892,7 +893,7 @@ Value RunTool(Scope* scope,
|
| if (!block_scope.CheckForUnusedVars(err))
|
| return Value();
|
|
|
| - toolchain->SetTool(tool_type, tool.Pass());
|
| + toolchain->SetTool(tool_type, std::move(tool));
|
| return Value();
|
| }
|
|
|
|
|