use empty method to check for emptyness

This commit is contained in:
Daniel Pfeifer
2016-09-15 23:59:29 +02:00
parent 6e06a53ebf
commit 73f648f167
44 changed files with 46 additions and 46 deletions

View File

@@ -27,7 +27,7 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args,
bool cmBuildCommand::MainSignature(std::vector<std::string> const& args)
{
if (args.size() < 1) {
if (args.empty()) {
this->SetError("requires at least one argument naming a CMake variable");
return false;
}