mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
Replace foo.length() pattern with !foo.empty().
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user