C++ Builder: Fixed compiler error (weird error)

This commit is contained in:
Daniel Marjamäki 2011-12-24 08:10:16 +01:00
parent 6155932207
commit c81a055caa
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ void CheckStl::size()
void CheckStl::sizeError(const Token *tok) void CheckStl::sizeError(const Token *tok)
{ {
const std::string varname(tok ? tok->str() : std::string("list")); const std::string varname = tok ? tok->str() : std::string("list");
reportError(tok, Severity::performance, "stlSize", reportError(tok, Severity::performance, "stlSize",
"Possible inefficient checking for '" + varname + "' emptiness.\n" "Possible inefficient checking for '" + varname + "' emptiness.\n"
"Checking for '" + varname + "' emptiness might be inefficient. " "Checking for '" + varname + "' emptiness might be inefficient. "