diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 17:19:00 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 17:19:00 (GMT) |
commit | 48b554dee83d260dba6635177949a5ce4dce64cc (patch) | |
tree | 9749b16ffa707698925b2ee960fdfd8d4fc7fe5c /Source/cmGlobalGenerator.cxx | |
parent | 21852384e017b16b04b961b5cbad78a328efd4b0 (diff) | |
download | CMake-48b554dee83d260dba6635177949a5ce4dce64cc.zip CMake-48b554dee83d260dba6635177949a5ce4dce64cc.tar.gz CMake-48b554dee83d260dba6635177949a5ce4dce64cc.tar.bz2 |
ENH: remove a const cast
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
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); } } |