From 04b5d1613c6082558bb6dca4b831747399409035 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 18 Feb 2005 16:12:33 -0500 Subject: COMP: Using const_iterator instead of iterator to walk through custom command dependencies. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::iterator i = c.GetDepends().begin(); + for (std::vector::const_iterator i = c.GetDepends().begin(); i != c.GetDepends().end(); ++i) { srcFilesToProcess.push(*i); -- cgit v0.12