testsymboldatabase: Improved constness of local variable.
This commit is contained in:
parent
d93f2994d4
commit
ad17a0d721
|
@ -3003,7 +3003,7 @@ private:
|
||||||
Tokenizer tokenizer(&settings, this);
|
Tokenizer tokenizer(&settings, this);
|
||||||
std::istringstream istr(code);
|
std::istringstream istr(code);
|
||||||
tokenizer.tokenize(istr, "test.cpp");
|
tokenizer.tokenize(istr, "test.cpp");
|
||||||
const Token *tok = Token::findsimplematch(tokenizer.tokens(),str);
|
const Token * const tok = Token::findsimplematch(tokenizer.tokens(),str);
|
||||||
return tok->valueType()->str();
|
return tok->valueType()->str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue