diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-15 12:42:17 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-17 19:18:59 (GMT) |
commit | 6652afe66961bcbb5ff17dd7b8a3a91da62f2712 (patch) | |
tree | 0ff6e6fde45ce5c77c79fbaad0d68b0a8017171d | |
parent | 75661fdfd94fef4b8f1e8112aa75d76d1cc366e6 (diff) | |
download | CMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.zip CMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.tar.gz CMake-6652afe66961bcbb5ff17dd7b8a3a91da62f2712.tar.bz2 |
CTest: Use clear instead of erase-all.
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.cxx | 3 |
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(); } |