ENH: remove a const cast
This commit is contained in:
parent
21852384e0
commit
48b554dee8
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue