COMP: Using const_iterator instead of iterator to walk through custom command dependencies.

This commit is contained in:
Brad King 2005-02-18 16:12:33 -05:00
parent 1088f39327
commit 04b5d1613c
1 changed files with 1 additions and 1 deletions

View File

@ -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);