mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Replace foo.size() pattern with !foo.empty().
This commit is contained in:
@@ -84,7 +84,7 @@ bool cmExecProgramCommand
|
||||
}
|
||||
|
||||
std::string command;
|
||||
if(arguments.size())
|
||||
if(!arguments.empty())
|
||||
{
|
||||
command = cmSystemTools::ConvertToRunCommandPath(args[0].c_str());
|
||||
command += " ";
|
||||
|
||||
Reference in New Issue
Block a user