mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
use empty method to check for emptyness
This commit is contained in:
@@ -16,7 +16,7 @@ bool cmAddDefinitionsCommand::InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus&)
|
||||
{
|
||||
// it is OK to have no arguments
|
||||
if (args.size() < 1) {
|
||||
if (args.empty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user