COMP: Using const_iterator instead of iterator to walk through custom command dependencies.
This commit is contained in:
parent
1088f39327
commit
04b5d1613c
|
@ -116,7 +116,7 @@ void cmTarget::TraceVSDependencies(std::string projFile,
|
||||||
ic != this->GetPostBuildCommands().end(); ++ic)
|
ic != this->GetPostBuildCommands().end(); ++ic)
|
||||||
{
|
{
|
||||||
cmCustomCommand &c = *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)
|
i != c.GetDepends().end(); ++i)
|
||||||
{
|
{
|
||||||
srcFilesToProcess.push(*i);
|
srcFilesToProcess.push(*i);
|
||||||
|
|
Loading…
Reference in New Issue