C++ Builder: Fixed compiler error (weird error)
This commit is contained in:
parent
6155932207
commit
c81a055caa
|
@ -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. "
|
||||||
|
|
Loading…
Reference in New Issue