diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 2b2436fce..31c513cec 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -7908,7 +7908,7 @@ void Tokenizer::simplifyEnum() } namespace { - const std::set f = make_container< std::set > () << + const std::set stdFunctionsPresentInC = make_container< std::set > () << "strcat" << "strcpy" << "strncat" << @@ -7928,7 +7928,7 @@ void Tokenizer::simplifyStd() continue; if (Token::Match(tok->previous(), "[(,{};] std :: %name% (") && - f.find(tok->strAt(2)) != f.end()) { + stdFunctionsPresentInC.find(tok->strAt(2)) != stdFunctionsPresentInC.end()) { tok->deleteNext(); tok->deleteThis(); }