diff options
author | Brad King <brad.king@kitware.com> | 2005-02-18 21:12:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-18 21:12:33 (GMT) |
commit | 04b5d1613c6082558bb6dca4b831747399409035 (patch) | |
tree | 337361e2e3b8a745ee6c66d0d88e896640a85f66 /Source/cmTarget.cxx | |
parent | 1088f393270914f587855ae70b1f871c6e430557 (diff) | |
download | CMake-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.cxx | 2 |
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); |