From b90d9c8a1929bb7328161dd15802782bc4a92c96 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Tue, 3 Apr 2012 22:51:56 +0200 Subject: [PATCH] Make 'const' the new variable 'funcName'. --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;