CTest: Use clear instead of erase-all.
This commit is contained in:
parent
75661fdfd9
commit
6652afe669
|
@ -32,8 +32,7 @@ cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
|
|||
//----------------------------------------------------------------------
|
||||
void cmCTestBuildAndTestHandler::Initialize()
|
||||
{
|
||||
this->BuildTargets.erase(
|
||||
this->BuildTargets.begin(), this->BuildTargets.end());
|
||||
this->BuildTargets.clear();
|
||||
this->Superclass::Initialize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue