Skip to content

Commit 1226bf4

Browse files
committed
const
1 parent 20c6d66 commit 1226bf4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

simplecpp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
13571357
void simplecpp::TokenList::constFoldQuestionOp(Token *&tok1)
13581358
{
13591359
bool gotoTok1 = false;
1360-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
13611360
for (Token *tok = tok1; tok && tok->op != ')'; tok = gotoTok1 ? tok1 : tok->next) {
13621361
gotoTok1 = false;
13631362
if (tok->str() != "?")
@@ -1954,7 +1953,6 @@ namespace simplecpp {
19541953
}
19551954
}
19561955

1957-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
19581956
Token * const output_end_1 = output.back();
19591957

19601958
const Token *valueToken2;

0 commit comments

Comments
 (0)