Make 'const' the new variable 'funcName'.
This commit is contained in:
parent
77d9ed1877
commit
b90d9c8a19
|
@ -4880,7 +4880,7 @@ bool Tokenizer::simplifyFunctionParameters()
|
|||
Token * tokparam = NULL;
|
||||
|
||||
//take count of the function name..
|
||||
std::string funcName(tok->str());
|
||||
const std::string funcName(tok->str());
|
||||
|
||||
//floating token used to check for parameters
|
||||
Token *tok1 = tok;
|
||||
|
|
Loading…
Reference in New Issue