| Index: tools/gn/target_generator.cc
|
| diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc
|
| index 947cf9fb528ca695ce6e331fc217fb22025d5843..e8d064d0f771a112ea0afaa8d69de51296cf6f43 100644
|
| --- a/tools/gn/target_generator.cc
|
| +++ b/tools/gn/target_generator.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "tools/gn/action_target_generator.h"
|
| #include "tools/gn/binary_target_generator.h"
|
| #include "tools/gn/build_settings.h"
|
| @@ -149,7 +151,7 @@ void TargetGenerator::GenerateTarget(Scope* scope,
|
| *err = Err(function_call, "Can't define a target in this context.");
|
| return;
|
| }
|
| - collector->push_back(target.release());
|
| + collector->push_back(std::move(target));
|
| }
|
|
|
| const BuildSettings* TargetGenerator::GetBuildSettings() const {
|
|
|