[Cmake-commits] CMake branch, next, updated. v2.8.9-739-gc19da58
Brad King
brad.king at kitware.com
Tue Sep 25 13:36:30 EDT 2012
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 c19da5830bde19c6710cdbe65c43fce4656c61ad (commit)
via ac4300f4dd48532a6ee9130ed0b89aaf5ddcf7db (commit)
from 2d35bdc1373a67ead6ded0110a6b0984daf0d5bd (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=c19da5830bde19c6710cdbe65c43fce4656c61ad
commit c19da5830bde19c6710cdbe65c43fce4656c61ad
Merge: 2d35bdc ac4300f
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Sep 25 13:36:21 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Sep 25 13:36:21 2012 -0400
Merge topic 'ctest-svn-non-interactive' into next
ac4300f ctest_update: Fix build on VS 6
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ac4300f4dd48532a6ee9130ed0b89aaf5ddcf7db
commit ac4300f4dd48532a6ee9130ed0b89aaf5ddcf7db
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Sep 25 13:32:26 2012 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Tue Sep 25 13:32:26 2012 -0400
ctest_update: Fix build on VS 6
Use iterators to avoid std::size_t.
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx
index 7f530b0..2668c8e 100644
--- a/Source/CTest/cmCTestSVN.cxx
+++ b/Source/CTest/cmCTestSVN.cxx
@@ -316,9 +316,10 @@ bool cmCTestSVN::RunSVNCommand(std::vector<char const*> const& parameters,
std::vector<cmStdString> parsedUserOptions =
cmSystemTools::ParseArguments(userOptions.c_str());
- for(std::size_t i = 0; i < parsedUserOptions.size(); ++i)
+ for(std::vector<cmStdString>::iterator i = parsedUserOptions.begin();
+ i != parsedUserOptions.end(); ++i)
{
- args.push_back(parsedUserOptions[i].c_str());
+ args.push_back(i->c_str());
}
args.push_back(0);
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestSVN.cxx | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list