| Index: tools/gn/functions_unittest.cc
|
| diff --git a/tools/gn/functions_unittest.cc b/tools/gn/functions_unittest.cc
|
| index 6a6c679094a92662fd68068193cb41b011997a3a..e2f67567ab90017044a931dee5008a79e01ea100 100644
|
| --- a/tools/gn/functions_unittest.cc
|
| +++ b/tools/gn/functions_unittest.cc
|
| @@ -2,8 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| #include "tools/gn/functions.h"
|
| +
|
| +#include <utility>
|
| +
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| #include "tools/gn/parse_tree.h"
|
| #include "tools/gn/test_with_scope.h"
|
| #include "tools/gn/value.h"
|
| @@ -47,7 +50,7 @@ TEST(Functions, Defined) {
|
| undef_accessor->set_member(scoped_ptr<IdentifierNode>(
|
| new IdentifierNode(undefined_token)));
|
| ListNode args_list_accessor_defined;
|
| - args_list_accessor_defined.append_item(undef_accessor.Pass());
|
| + args_list_accessor_defined.append_item(std::move(undef_accessor));
|
| result = functions::RunDefined(setup.scope(), &function_call,
|
| &args_list_accessor_defined, &err);
|
| ASSERT_EQ(Value::BOOLEAN, result.type());
|
|
|