mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
ENH: remove a const cast
This commit is contained in:
1 parent
21852384e0
commit
48b554dee8
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user