Index: tools/gn/parser.cc |
diff --git a/tools/gn/parser.cc b/tools/gn/parser.cc |
index 977ddad6e7b27d592bc1c09a574a8ebf9fdaa42f..7e5886f8950b3d4b4466aa34e966658ca05779ed 100644 |
--- a/tools/gn/parser.cc |
+++ b/tools/gn/parser.cc |
@@ -711,7 +711,7 @@ void Parser::AssignComments(ParseNode* file) { |
// Assign line comments to syntax immediately following. |
int cur_comment = 0; |
- for (const auto& node : pre) { |
+ for (auto* node : pre) { |
const Location& start = node->GetRange().begin(); |
while (cur_comment < static_cast<int>(line_comment_tokens_.size())) { |
if (start.byte() >= line_comment_tokens_[cur_comment].location().byte()) { |