CTest: Use clear instead of erase-all.

This commit is contained in:
Stephen Kelly 2015-02-15 13:42:17 +01:00
parent 75661fdfd9
commit 6652afe669
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
//---------------------------------------------------------------------- //----------------------------------------------------------------------
void cmCTestBuildAndTestHandler::Initialize() void cmCTestBuildAndTestHandler::Initialize()
{ {
this->BuildTargets.erase( this->BuildTargets.clear();
this->BuildTargets.begin(), this->BuildTargets.end());
this->Superclass::Initialize(); this->Superclass::Initialize();
} }