mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
use empty method to check for emptyness
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
bool cmStringCommand::InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus&)
|
||||
{
|
||||
if (args.size() < 1) {
|
||||
if (args.empty()) {
|
||||
this->SetError("must be called with at least one argument.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user