diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 68639b092..256a3b893 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -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;