summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTargetPropertiesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-14 23:31:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-18 13:25:24 (GMT)
commit930bd4781694ea85a876c08c34a2dd8243688920 (patch)
tree399ea4dd7a803f40ea986dc58eaa12c61ab923b6 /Source/cmSetTargetPropertiesCommand.cxx
parentd92887efabad6a91e221588d0dc7a0bffd91a9f7 (diff)
downloadCMake-930bd4781694ea85a876c08c34a2dd8243688920.zip
CMake-930bd4781694ea85a876c08c34a2dd8243688920.tar.gz
CMake-930bd4781694ea85a876c08c34a2dd8243688920.tar.bz2
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmSetTargetPropertiesCommand.cxx')
-rw-r--r--Source/cmSetTargetPropertiesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetTargetPropertiesCommand.cxx b/Source/cmSetTargetPropertiesCommand.cxx
index bf3519c..aeb8077 100644
--- a/Source/cmSetTargetPropertiesCommand.cxx
+++ b/Source/cmSetTargetPropertiesCommand.cxx
@@ -61,7 +61,7 @@ bool cmSetTargetPropertiesCommand
return false;
}
}
- if(propertyPairs.size() == 0)
+ if(propertyPairs.empty())
{
this->SetError("called with illegal arguments, maybe missing "
"a PROPERTIES specifier?");