Index: tools/gn/functions.cc |
diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc |
index f6d405d0a56440d5f4a3abae6346fe10af0c69f7..af413d655b3cc33ecb4f8e79dc1c5a8f5f87703b 100644 |
--- a/tools/gn/functions.cc |
+++ b/tools/gn/functions.cc |
@@ -464,7 +464,7 @@ Value RunDefined(Scope* scope, |
const FunctionCallNode* function, |
const ListNode* args_list, |
Err* err) { |
- const std::vector<const ParseNode*>& args_vector = args_list->contents(); |
+ const auto& args_vector = args_list->contents(); |
if (args_vector.size() != 1) { |
*err = Err(function, "Wrong number of arguments to defined().", |
"Expecting exactly one."); |