From 67f0301f0b9ccaf785120ce010aae99578c4fc16 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Mon, 7 Dec 2015 12:21:17 +0300 Subject: [PATCH] Better variable name --- lib/tokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 83569cd22..5ef4a9333 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -7905,7 +7905,7 @@ void Tokenizer::simplifyEnum() } namespace { - const std::set f = make_container< std::set > () << + const std::set stdFunctionsPresentInC = make_container< std::set > () << "strcat" << "strcpy" << "strncat" << @@ -7925,7 +7925,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(); }