| Index: tools/gn/function_get_target_outputs.cc
|
| diff --git a/tools/gn/function_get_target_outputs.cc b/tools/gn/function_get_target_outputs.cc
|
| index bec825f8708b51b3501d627987b542624810f045..e13e1e3a54651af5f5a541cdde3b7b3a0856fb02 100644
|
| --- a/tools/gn/function_get_target_outputs.cc
|
| +++ b/tools/gn/function_get_target_outputs.cc
|
| @@ -93,7 +93,7 @@ Value RunGetTargetOutputs(Scope* scope,
|
| *err = Err(function, "No targets defined in this context.");
|
| return Value();
|
| }
|
| - for (auto* item : *collector) {
|
| + for (const auto& item : *collector) {
|
| if (item->label() != label)
|
| continue;
|
|
|
|
|