mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
cmake: Clear member rather than explicit erase.
This commit is contained in:
@@ -212,7 +212,7 @@ void cmake::CleanupCommandsAndMacros()
|
||||
delete j->second;
|
||||
}
|
||||
}
|
||||
this->Commands.erase(this->Commands.begin(), this->Commands.end());
|
||||
this->Commands.clear();
|
||||
std::vector<cmCommand*>::iterator it;
|
||||
for ( it = commands.begin(); it != commands.end();
|
||||
++ it )
|
||||
|
||||
Reference in New Issue
Block a user