| Index: tools/gn/builder.cc
|
| diff --git a/tools/gn/builder.cc b/tools/gn/builder.cc
|
| index 5af7c3df5a58c2a8fec245e465d5542b9742629f..a05493b9e40e52f513807ad656efc8950ab12f9c 100644
|
| --- a/tools/gn/builder.cc
|
| +++ b/tools/gn/builder.cc
|
| @@ -5,6 +5,7 @@
|
| #include "tools/gn/builder.h"
|
|
|
| #include <stddef.h>
|
| +#include <utility>
|
|
|
| #include "tools/gn/config.h"
|
| #include "tools/gn/deps_iterator.h"
|
| @@ -82,7 +83,7 @@ void Builder::ItemDefined(scoped_ptr<Item> item) {
|
| return;
|
| }
|
|
|
| - record->set_item(item.Pass());
|
| + record->set_item(std::move(item));
|
|
|
| // Do target-specific dependency setup. This will also schedule dependency
|
| // loads for targets that are required.
|
|
|