summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-18 21:12:33 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-18 21:12:33 (GMT)
commit04b5d1613c6082558bb6dca4b831747399409035 (patch)
tree337361e2e3b8a745ee6c66d0d88e896640a85f66 /Source/cmTarget.cxx
parent1088f393270914f587855ae70b1f871c6e430557 (diff)
downloadCMake-04b5d1613c6082558bb6dca4b831747399409035.zip
CMake-04b5d1613c6082558bb6dca4b831747399409035.tar.gz
CMake-04b5d1613c6082558bb6dca4b831747399409035.tar.bz2
COMP: Using const_iterator instead of iterator to walk through custom command dependencies.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index ac2000b..2bfe0a2 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -116,7 +116,7 @@ void cmTarget::TraceVSDependencies(std::string projFile,
ic != this->GetPostBuildCommands().end(); ++ic)
{
cmCustomCommand &c = *ic;
- for (std::vector<std::string>::iterator i = c.GetDepends().begin();
+ for (std::vector<std::string>::const_iterator i = c.GetDepends().begin();
i != c.GetDepends().end(); ++i)
{
srcFilesToProcess.push(*i);