From 48b554dee83d260dba6635177949a5ce4dce64cc Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 31 Jan 2008 12:19:00 -0500 Subject: ENH: remove a const cast --- Source/cmGlobalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(*i); + cmTarget* dtarget = *i; this->AddTargetDepends(dtarget, projectTargets); } } -- cgit v0.12