summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 20:06:52 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-23 20:06:52 (GMT)
commite7d15aa7c566b8c674c3ec7ce8c98fce47c5e844 (patch)
tree9cdbe4ba1edd741baaa451f5b89c114f08d8cacd /Source
parentb60d8a76405847e6d693f667351326a3fd11981a (diff)
downloadCMake-e7d15aa7c566b8c674c3ec7ce8c98fce47c5e844.zip
CMake-e7d15aa7c566b8c674c3ec7ce8c98fce47c5e844.tar.gz
CMake-e7d15aa7c566b8c674c3ec7ce8c98fce47c5e844.tar.bz2
ENH: Make iterators const
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index 4112907..3fd27b1 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -93,7 +93,7 @@ bool cmCTestSubmitHandler::SubmitUsingFTP(const cmStdString& localprefix,
/* In windows, this will init the winsock stuff */
::curl_global_init(CURL_GLOBAL_ALL);
- cmCTest::tm_SetOfStrings::iterator file;
+ cmCTest::tm_SetOfStrings::const_iterator file;
for ( file = files.begin(); file != files.end(); ++file )
{
/* get a curl handle */
@@ -209,7 +209,7 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const cmStdString& localprefix,
::curl_global_init(CURL_GLOBAL_ALL);
cmStdString::size_type kk;
- cmCTest::tm_SetOfStrings::iterator file;
+ cmCTest::tm_SetOfStrings::const_iterator file;
for ( file = files.begin(); file != files.end(); ++file )
{
/* get a curl handle */
@@ -357,7 +357,7 @@ bool cmCTestSubmitHandler::TriggerUsingHTTP(const std::set<cmStdString>& files,
/* In windows, this will init the winsock stuff */
::curl_global_init(CURL_GLOBAL_ALL);
- cmCTest::tm_SetOfStrings::iterator file;
+ cmCTest::tm_SetOfStrings::const_iterator file;
for ( file = files.begin(); file != files.end(); ++file )
{
/* get a curl handle */
@@ -486,7 +486,7 @@ bool cmCTestSubmitHandler::SubmitUsingSCP(
int problems = 0;
- cmCTest::tm_SetOfStrings::iterator file;
+ cmCTest::tm_SetOfStrings::const_iterator file;
for ( file = files.begin(); file != files.end(); ++file )
{
int retVal;
@@ -572,7 +572,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(const cmStdString& localprefix,
/* Call the famous server at UserLand. */
cmCTestLog(m_CTest, HANDLER_OUTPUT, " Submitting to: " << realURL.c_str() << " (" << remoteprefix.c_str() << ")" << std::endl);
- cmCTest::tm_SetOfStrings::iterator file;
+ cmCTest::tm_SetOfStrings::const_iterator file;
for ( file = files.begin(); file != files.end(); ++file )
{
xmlrpc_value *result;