Define the two reference variables in one line in the loop of Parser.hpp.

This commit is contained in:
Username404-59 2021-07-06 20:56:44 +02:00
parent b82faeb399
commit de24219fca
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ namespace Parser {
ParseTree parseTree;
using namespace StandardComponents::types;
for (unsigned int i = 0; i < lexed.size() - 1; ++i) {
const auto& current = lexed[i];
const auto& next = lexed[i + 1];
const auto& current = lexed[i], next = lexed[i + 1];
}