summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-31 17:19:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-31 17:19:00 (GMT)
commit48b554dee83d260dba6635177949a5ce4dce64cc (patch)
tree9749b16ffa707698925b2ee960fdfd8d4fc7fe5c /Source
parent21852384e017b16b04b961b5cbad78a328efd4b0 (diff)
downloadCMake-48b554dee83d260dba6635177949a5ce4dce64cc.zip
CMake-48b554dee83d260dba6635177949a5ce4dce64cc.tar.gz
CMake-48b554dee83d260dba6635177949a5ce4dce64cc.tar.bz2
ENH: remove a const cast
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 546aabe..a001f6d 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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);
}
}