cmake: Clear member rather than explicit erase.
This commit is contained in:
parent
d280bae98f
commit
629e948936
@ -212,7 +212,7 @@ void cmake::CleanupCommandsAndMacros()
|
|||||||
delete j->second;
|
delete j->second;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->Commands.erase(this->Commands.begin(), this->Commands.end());
|
this->Commands.clear();
|
||||||
std::vector<cmCommand*>::iterator it;
|
std::vector<cmCommand*>::iterator it;
|
||||||
for ( it = commands.begin(); it != commands.end();
|
for ( it = commands.begin(); it != commands.end();
|
||||||
++ it )
|
++ it )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user