Skip to content

Commit

Permalink
Update std.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Aug 1, 2024
1 parent 55724ce commit 4933a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cfg/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5163,7 +5163,7 @@ int passedByValue_std_bitset2(std::bitset<256> bs)
struct S_std_as_const { // #12974
// cppcheck-suppress functionConst
void f() {
for (const auto& i : std::as_const(l)) {}
for (const int i : std::as_const(l)) {}
}
std::list<int> l;
};

0 comments on commit 4933a2a

Please sign in to comment.