Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Apr 3, 2024
1 parent 064fd52 commit afa229e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testtoken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ class TestToken : public TestFixture {
ASSERT_EQUALS(true, Token::Match(negative.front(), "%bool%"));
}

void matchOr() {
void matchOr() const {
const SimpleTokenList bitwiseOr(";|;");
// cppcheck-suppress simplePatternError - this is intentional
ASSERT_EQUALS(true, Token::Match(bitwiseOr.front(), "; %or%"));
Expand Down

0 comments on commit afa229e

Please sign in to comment.