summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 22:39:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-18 13:25:25 (GMT)
commit5f69314ea65ebd0de23484e7c91bd12a8bf861f6 (patch)
treed50bbf578696dfa13e36dbf684de70a2a0c913d8 /Source/cmLocalGenerator.cxx
parentfd0c036c0c3e5e6be685e64caecdcbad4b3e744c (diff)
downloadCMake-5f69314ea65ebd0de23484e7c91bd12a8bf861f6.zip
CMake-5f69314ea65ebd0de23484e7c91bd12a8bf861f6.tar.gz
CMake-5f69314ea65ebd0de23484e7c91bd12a8bf861f6.tar.bz2
Replace foo.length() pattern with !foo.empty().
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 0cbbdab..834f705 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -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)