Skip to content

Commit 79d0f4e

Browse files
dmcppcheckclaude
andcommitted
Fix clang-tidy misc-const-correctness
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e5e3610 commit 79d0f4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@ static void ifShortCircuit()
27802780
"0 && 1 % 0 && 1",
27812781
"(1 || 1/0) && !(0 && 1/0) && 0"
27822782
};
2783-
for (const char *expr : exprs) {
2783+
for (const char * const expr : exprs) {
27842784
const std::string code = std::string("#if ") + expr + "\n"
27852785
"1\n"
27862786
"#else\n"

0 commit comments

Comments
 (0)