| Index: tools/gn/standard_out.cc
|
| diff --git a/tools/gn/standard_out.cc b/tools/gn/standard_out.cc
|
| index ba9a23a99b9bccbd0f0c990961c56d6fe5bc4c37..98e0680893705851ef06c209df1a926f8f9c890e 100644
|
| --- a/tools/gn/standard_out.cc
|
| +++ b/tools/gn/standard_out.cc
|
| @@ -167,9 +167,7 @@ void PrintLongHelp(const std::string& text) {
|
| std::vector<std::string> lines;
|
| base::SplitStringDontTrim(text, '\n', &lines);
|
|
|
| - for (size_t i = 0; i < lines.size(); i++) {
|
| - const std::string& line = lines[i];
|
| -
|
| + for (const auto& line : lines) {
|
| // Check for a heading line.
|
| if (!line.empty() && line[0] != ' ') {
|
| // Highlight up to the colon (if any).
|
|
|