| Index: tools/gn/command_ls.cc
|
| diff --git a/tools/gn/command_ls.cc b/tools/gn/command_ls.cc
|
| index c9b9672cf80aabffc906b3670e2d0bfd8f891d6c..f53a7272a32ae2583fcaf3cef3220cf14821b104 100644
|
| --- a/tools/gn/command_ls.cc
|
| +++ b/tools/gn/command_ls.cc
|
| @@ -100,7 +100,7 @@ int RunLs(const std::vector<std::string>& args) {
|
| matches = setup->builder()->GetAllResolvedTargets();
|
| } else {
|
| // List all resolved targets in the default toolchain.
|
| - for (const auto& target : setup->builder()->GetAllResolvedTargets()) {
|
| + for (auto* target : setup->builder()->GetAllResolvedTargets()) {
|
| if (target->settings()->is_default())
|
| matches.push_back(target);
|
| }
|
|
|