Skip to content

Commit 49490e3

Browse files
Update simplecpp.cpp
1 parent 83407ef commit 49490e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

externals/simplecpp/simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ static void simplifySizeof(simplecpp::TokenList &expr, const std::map<std::strin
25122512
for (simplecpp::Token *tok = expr.front(); tok; tok = tok->next) {
25132513
if (tok->str() != "sizeof")
25142514
continue;
2515-
simplecpp::Token *tok1 = tok->next;
2515+
const simplecpp::Token *tok1 = tok->next;
25162516
if (!tok1) {
25172517
throw std::runtime_error("missing sizeof argument");
25182518
}

0 commit comments

Comments
 (0)