diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-31 15:51:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-31 15:51:42 (GMT) |
commit | bebc745824920465c9df5fee9baf9b6f8a35d34f (patch) | |
tree | 958f9a784bd1aa1960fcd318d6123b5c928a0dc0 /Source/cmLocalGenerator.cxx | |
parent | ec3f3b5a2db2c0d60fe2dbe31b21cf937fc8264e (diff) | |
download | CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.zip CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.tar.gz CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.tar.bz2 |
ENH: Add set and get test propety command
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index d927b3b..55249f2 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -156,14 +156,14 @@ void cmLocalGenerator::GenerateTestFiles() fout << "ADD_TEST("; fout << test->GetName() << " \"" << test->GetCommand() << "\""; - std::vector<cmStdString>::iterator argit; + std::vector<cmStdString>::const_iterator argit; for (argit = test->GetArguments().begin(); argit != test->GetArguments().end(); ++argit) { // Just double-quote all arguments so they are re-parsed // correctly by the test system. fout << " \""; - for(std::string::iterator c = argit->begin(); c != argit->end(); ++c) + for(std::string::const_iterator c = argit->begin(); c != argit->end(); ++c) { // Escape quotes within arguments. We should escape // backslashes too but we cannot because it makes the result |