Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Nov 21, 2024
1 parent d7e1893 commit 7d68382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testsymboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class TestSymbolDatabase : public TestFixture {
return tokenizer.tokenize(code, cpp) ? tokenizer.getSymbolDatabase() : nullptr;
}

static const Token* findToken(Tokenizer& tokenizer, const std::string& expr, unsigned int exprline)
static const Token* findToken(const Tokenizer& tokenizer, const std::string& expr, unsigned int exprline)
{
for (const Token* tok = tokenizer.tokens(); tok; tok = tok->next()) {
if (Token::simpleMatch(tok, expr.c_str(), expr.size()) && tok->linenr() == exprline) {
Expand Down

0 comments on commit 7d68382

Please sign in to comment.