| Index: tools/gn/toolchain.cc
|
| diff --git a/tools/gn/toolchain.cc b/tools/gn/toolchain.cc
|
| index 96cf16673ee9d5f2e3b908b8b0595ac448d5a753..2a7035832234fa9da0b3cc61e5120a06f605539d 100644
|
| --- a/tools/gn/toolchain.cc
|
| +++ b/tools/gn/toolchain.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stddef.h>
|
| #include <string.h>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "tools/gn/target.h"
|
| @@ -88,7 +89,7 @@ void Toolchain::SetTool(ToolType type, scoped_ptr<Tool> t) {
|
| DCHECK(type != TYPE_NONE);
|
| DCHECK(!tools_[type].get());
|
| t->SetComplete();
|
| - tools_[type] = t.Pass();
|
| + tools_[type] = std::move(t);
|
| }
|
|
|
| void Toolchain::ToolchainSetupComplete() {
|
|
|