Replace foo.size() pattern with !foo.empty().

This commit is contained in:
Stephen Kelly
2015-01-15 23:04:33 +01:00
parent aa773035b7
commit fd7b371293
42 changed files with 114 additions and 114 deletions

View File

@@ -84,7 +84,7 @@ bool cmExecProgramCommand
}
std::string command;
if(arguments.size())
if(!arguments.empty())
{
command = cmSystemTools::ConvertToRunCommandPath(args[0].c_str());
command += " ";