| Index: tools/gn/function_toolchain.cc
|
| diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
|
| index adbab300a9270752354f81cfccda2dd8489cbed2..beef1ea98ec8360b752c1572f2e4da7e6a0abdcc 100644
|
| --- a/tools/gn/function_toolchain.cc
|
| +++ b/tools/gn/function_toolchain.cc
|
| @@ -496,7 +496,7 @@ Value RunToolchain(Scope* scope,
|
| *err = Err(function, "Can't define a toolchain in this context.");
|
| return Value();
|
| }
|
| - collector->push_back(toolchain.release());
|
| + collector->push_back(std::move(toolchain));
|
| return Value();
|
| }
|
|
|
|
|