Skip to content

Commit ad17a0d

Browse files
committed
testsymboldatabase: Improved constness of local variable.
1 parent d93f299 commit ad17a0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testsymboldatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,7 @@ class TestSymbolDatabase: public TestFixture {
30033003
Tokenizer tokenizer(&settings, this);
30043004
std::istringstream istr(code);
30053005
tokenizer.tokenize(istr, "test.cpp");
3006-
const Token *tok = Token::findsimplematch(tokenizer.tokens(),str);
3006+
const Token * const tok = Token::findsimplematch(tokenizer.tokens(),str);
30073007
return tok->valueType()->str();
30083008
}
30093009

0 commit comments

Comments
 (0)