Replace foo.length() pattern with !foo.empty().

This commit is contained in:
Stephen Kelly
2015-01-15 23:39:38 +01:00
parent fd0c036c0c
commit 5f69314ea6
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ void cmLocalGenerator::GenerateTestFiles()
{
(*gi)->Generate(fout, config, configurationTypes);
}
if ( this->Children.size())
if (!this->Children.empty())
{
size_t i;
for(i = 0; i < this->Children.size(); ++i)