mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
Use the cmDeleteAll algorithm instead of trivial raw loops.
This commit is contained in:
@@ -15,10 +15,7 @@
|
||||
|
||||
cmExportSet::~cmExportSet()
|
||||
{
|
||||
for(unsigned int i = 0; i < this->TargetExports.size(); ++ i)
|
||||
{
|
||||
delete this->TargetExports[i];
|
||||
}
|
||||
cmDeleteAll(this->TargetExports);
|
||||
}
|
||||
|
||||
void cmExportSet::AddTargetExport(cmTargetExport* te)
|
||||
|
||||
Reference in New Issue
Block a user