ENH: tiny performance improvement
This commit is contained in:
parent
a568a8552d
commit
66a8c5763b
|
@ -163,7 +163,8 @@ bool cmListFile::ParseFile(const char* filename,
|
|||
std::string name = cmSystemTools::LowerCase(i->Name);
|
||||
if (allowedCommands.find(name) == allowedCommands.end())
|
||||
{
|
||||
isProblem = true;
|
||||
isProblem = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue