summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-15 12:42:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-17 19:18:59 (GMT)
commit6652afe66961bcbb5ff17dd7b8a3a91da62f2712 (patch)
tree0ff6e6fde45ce5c77c79fbaad0d68b0a8017171d /Source/CTest
parent75661fdfd94fef4b8f1e8112aa75d76d1cc366e6 (diff)
downloadCMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.zip
CMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.tar.gz
CMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.tar.bz2
CTest: Use clear instead of erase-all.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index d90aeb7..4cdce71 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -32,8 +32,7 @@ cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
//----------------------------------------------------------------------
void cmCTestBuildAndTestHandler::Initialize()
{
- this->BuildTargets.erase(
- this->BuildTargets.begin(), this->BuildTargets.end());
+ this->BuildTargets.clear();
this->Superclass::Initialize();
}