ENH: tiny performance improvement

This commit is contained in:
Ken Martin 2008-03-20 10:46:24 -04:00
parent a568a8552d
commit 66a8c5763b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}
}