ENH: remove a const cast

This commit is contained in:
Bill Hoffman 2008-01-31 12:19:00 -05:00
parent 21852384e0
commit 48b554dee8
1 changed files with 1 additions and 1 deletions

View File

@ -1911,7 +1911,7 @@ cmGlobalGenerator::AddTargetDepends(cmTarget* target,
for(cmGlobalGenerator::TargetDependSet::const_iterator i =
tset.begin(); i != tset.end(); ++i)
{
cmTarget* dtarget = const_cast<cmTarget*>(*i);
cmTarget* dtarget = *i;
this->AddTargetDepends(dtarget, projectTargets);
}
}