summaryrefslogtreecommitdiffstats
path: root/Source/cmRemoveDefinitionsCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-16 14:21:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-16 14:21:39 (GMT)
commit60ebd0acf843bbe87f94b39d6807a072532cdb07 (patch)
treeae2825e55031a78ea26985020671e689ac6940ca /Source/cmRemoveDefinitionsCommand.cxx
parentcf0e005202b3d17ad1f3c17536065c5589b97f93 (diff)
parent73f648f167e9b11739c4dbbdbd5c024baf1e39ad (diff)
downloadCMake-60ebd0acf843bbe87f94b39d6807a072532cdb07.zip
CMake-60ebd0acf843bbe87f94b39d6807a072532cdb07.tar.gz
CMake-60ebd0acf843bbe87f94b39d6807a072532cdb07.tar.bz2
Merge topic 'size-empty'
73f648f1 use empty method to check for emptyness
Diffstat (limited to 'Source/cmRemoveDefinitionsCommand.cxx')
-rw-r--r--Source/cmRemoveDefinitionsCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRemoveDefinitionsCommand.cxx b/Source/cmRemoveDefinitionsCommand.cxx
index 638eda6..77de846 100644
--- a/Source/cmRemoveDefinitionsCommand.cxx
+++ b/Source/cmRemoveDefinitionsCommand.cxx
@@ -16,7 +16,7 @@ bool cmRemoveDefinitionsCommand::InitialPass(
std::vector<std::string> const& args, cmExecutionStatus&)
{
// it is OK to have no arguments
- if (args.size() < 1) {
+ if (args.empty()) {
return true;
}