summaryrefslogtreecommitdiff
path: root/Source/cmListCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 00:59:13 +0100
committerStephen Kelly <steveire@gmail.com>2015-01-18 14:25:24 +0100
commit607e19384f19fcf8713ccf0377e0255084ede785 (patch)
tree09c5363a9c5512972da5b6c459e37018ea042e6a /Source/cmListCommand.cxx
parent930bd4781694ea85a876c08c34a2dd8243688920 (diff)
downloadcmake-607e19384f19fcf8713ccf0377e0255084ede785.tar.gz
Replace 'foo.size() != 0' pattern with !foo.empty().
Diffstat (limited to 'Source/cmListCommand.cxx')
-rw-r--r--Source/cmListCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx
index c82d278cea..01ae30073a 100644
--- a/Source/cmListCommand.cxx
+++ b/Source/cmListCommand.cxx
@@ -328,7 +328,7 @@ bool cmListCommand::HandleInsertCommand(std::vector<std::string> const& args)
return false;
}
- if ( varArgsExpanded.size() != 0 )
+ if (!varArgsExpanded.empty())
{
size_t nitem = varArgsExpanded.size();
if ( item < 0 )