summaryrefslogtreecommitdiffstats
path: root/Source/cmAddSubDirectoryCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 22:13:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-18 13:25:24 (GMT)
commitaa773035b7f4a1aefd860d0b9e80f134bd4a4547 (patch)
tree3970a39971ed66dd72c07f227464ce2051f28ce2 /Source/cmAddSubDirectoryCommand.cxx
parent64592633773004df83cdd790b9cb1838503ca854 (diff)
downloadCMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.zip
CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.gz
CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.bz2
Replace !foo.size() pattern with foo.empty().
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.cxx')
-rw-r--r--Source/cmAddSubDirectoryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddSubDirectoryCommand.cxx b/Source/cmAddSubDirectoryCommand.cxx
index 8db5078..01598bc 100644
--- a/Source/cmAddSubDirectoryCommand.cxx
+++ b/Source/cmAddSubDirectoryCommand.cxx
@@ -37,7 +37,7 @@ bool cmAddSubDirectoryCommand::InitialPass
excludeFromAll = true;
continue;
}
- else if (!binArg.size())
+ else if (binArg.empty())
{
binArg = *i;
}