Merge topic 'size-empty'

73f648f1 use empty method to check for emptyness
This commit is contained in:
Brad King
2016-09-16 10:21:39 -04:00
committed by CMake Topic Stage
44 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ void cmFindPackageCommand::AppendSearchPathGroups()
bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args,
cmExecutionStatus&)
{
if (args.size() < 1) {
if (args.empty()) {
this->SetError("called with incorrect number of arguments");
return false;
}