diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 03:56:34 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 03:56:34 (GMT) |
commit | 6903d2df8b2e7ff529efb0e283aa37cb8480725a (patch) | |
tree | dafe15c83cd970a9558f6961eac45a72eac3fa88 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 2a6e918c1fa7e8418faa08d2311a039311e14262 (diff) | |
download | CMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.zip CMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.tar.gz CMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.tar.bz2 |
ENH: remove const
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 746ddfa..08adf0e 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -848,7 +848,7 @@ cmGlobalUnixMakefileGenerator3 //---------------------------------------------------------------------------- int cmGlobalUnixMakefileGenerator3 -::GetTargetTotalNumberOfActions(cmTarget const& target, +::GetTargetTotalNumberOfActions(cmTarget & target, std::set<cmStdString> &emitted) { // do not double count @@ -861,9 +861,9 @@ int cmGlobalUnixMakefileGenerator3 (target.GetMakefile()->GetLocalGenerator()); result = static_cast<int>(lg->ProgressFiles[target.GetName()].size()); - TargetDependSet const& depends = this->GetTargetDirectDepends(target); + TargetDependSet & depends = this->GetTargetDirectDepends(target); - TargetDependSet::const_iterator i; + TargetDependSet::iterator i; for (i = depends.begin(); i != depends.end(); ++i) { result += this->GetTargetTotalNumberOfActions(**i, emitted); @@ -877,11 +877,11 @@ unsigned long cmGlobalUnixMakefileGenerator3 ::GetNumberOfProgressActionsInAll(cmLocalUnixMakefileGenerator3 *lg) { unsigned long result = 0; - std::set<cmTarget const*>& targets = this->LocalGeneratorToTargetMap[lg]; - for(std::set<cmTarget const*>::iterator t = targets.begin(); + std::set<cmTarget *>& targets = this->LocalGeneratorToTargetMap[lg]; + for(std::set<cmTarget *>::iterator t = targets.begin(); t != targets.end(); ++t) { - cmTarget const* target = *t; + cmTarget * target = *t; cmLocalUnixMakefileGenerator3 *lg3 = static_cast<cmLocalUnixMakefileGenerator3 *> (target->GetMakefile()->GetLocalGenerator()); |