mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
cmake: Clear member rather than explicit erase.
This commit is contained in:
1 parent
d280bae98f
commit
629e948936
1 file changed
+1
-1
+1
-1
@@ -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