diff options
author | Brad King <brad.king@kitware.com> | 2016-09-16 14:21:39 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-16 14:21:39 (GMT) |
commit | 60ebd0acf843bbe87f94b39d6807a072532cdb07 (patch) | |
tree | ae2825e55031a78ea26985020671e689ac6940ca /Source/cmTargetLinkLibrariesCommand.cxx | |
parent | cf0e005202b3d17ad1f3c17536065c5589b97f93 (diff) | |
parent | 73f648f167e9b11739c4dbbdbd5c024baf1e39ad (diff) | |
download | CMake-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/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r-- | Source/cmTargetLinkLibrariesCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx index 1c4a9ce..b62e225 100644 --- a/Source/cmTargetLinkLibrariesCommand.cxx +++ b/Source/cmTargetLinkLibrariesCommand.cxx @@ -22,7 +22,7 @@ bool cmTargetLinkLibrariesCommand::InitialPass( std::vector<std::string> const& args, cmExecutionStatus&) { // must have one argument - if (args.size() < 1) { + if (args.empty()) { this->SetError("called with incorrect number of arguments"); return false; } |