diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-15 22:13:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-18 13:25:24 (GMT) |
commit | aa773035b7f4a1aefd860d0b9e80f134bd4a4547 (patch) | |
tree | 3970a39971ed66dd72c07f227464ce2051f28ce2 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 64592633773004df83cdd790b9cb1838503ca854 (diff) | |
download | CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.zip CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.gz CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.bz2 |
Replace !foo.size() pattern with foo.empty().
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 1f08629..a867ab3 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -597,7 +597,7 @@ void cmGlobalUnixMakefileGenerator3 tname = lg->Convert(tname,cmLocalGenerator::HOME_OUTPUT); cmSystemTools::ConvertToOutputSlashes(tname); makeCommand.push_back(tname); - if (!this->LocalGenerators.size()) + if (this->LocalGenerators.empty()) { delete lg; } |