[Cmake-commits] CMake branch, next, updated. v2.8.12-4501-g6d3a61a
Nils Gladitz
nilsgladitz at gmail.com
Fri Oct 25 12:47:41 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 6d3a61a1db71c4bf9a2c962ad26557beb06ecaed (commit)
via ae4a0efb8c506ec9ff892a7e880601235e1d2139 (commit)
from d9518a356968b257586664de5c3667db0beef0c8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6d3a61a1db71c4bf9a2c962ad26557beb06ecaed
commit 6d3a61a1db71c4bf9a2c962ad26557beb06ecaed
Merge: d9518a3 ae4a0ef
Author: Nils Gladitz <nilsgladitz at gmail.com>
AuthorDate: Fri Oct 25 12:47:38 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Oct 25 12:47:38 2013 -0400
Merge topic 'ctest-fix-run-serial' into next
ae4a0ef CTest: use const iterators
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ae4a0efb8c506ec9ff892a7e880601235e1d2139
commit ae4a0efb8c506ec9ff892a7e880601235e1d2139
Author: Nils Gladitz <nilsgladitz at gmail.com>
AuthorDate: Fri Oct 25 18:46:33 2013 +0200
Commit: Nils Gladitz <nilsgladitz at gmail.com>
CommitDate: Fri Oct 25 18:46:33 2013 +0200
CTest: use const iterators
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 283a072..6572953 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -470,18 +470,18 @@ void cmCTestMultiProcessHandler::CreateTestCostList()
priorityStack.push_back(TestSet());
TestSet ¤tSet = priorityStack.back();
- for(TestSet::iterator i = previousSet.begin();
+ for(TestSet::const_iterator i = previousSet.begin();
i != previousSet.end(); ++i)
{
TestSet const& dependencies = this->Tests[*i];
- for(TestSet::iterator j = dependencies.begin();
+ for(TestSet::const_iterator j = dependencies.begin();
j != dependencies.end(); ++j)
{
currentSet.insert(*j);
}
}
- for(TestSet::iterator i = currentSet.begin();
+ for(TestSet::const_iterator i = currentSet.begin();
i != currentSet.end(); ++i)
{
previousSet.erase(*i);
@@ -493,7 +493,7 @@ void cmCTestMultiProcessHandler::CreateTestCostList()
// Reverse iterate over the different dependency levels (deepest first).
// Sort tests within each level by COST and append them to the cost list.
- for(std::list<TestSet>::reverse_iterator i = priorityStack.rbegin();
+ for(std::list<TestSet>::const_reverse_iterator i = priorityStack.rbegin();
i != priorityStack.rend(); ++i)
{
TestSet ¤tSet = *i;
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestMultiProcessHandler.cxx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list