Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2015, 11:32:08 PM (9 years ago)
Author:
landauf
Message:

made mapEntry const& wherever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/class/Identifier.cc

    r10916 r10917  
    9292            const_cast<Identifier*>(directChild)->directParents_.remove(this);
    9393
    94         for (auto& mapEntry : this->configValues_)
     94        for (const auto& mapEntry : this->configValues_)
    9595            delete (mapEntry.second);
    96         for (auto& mapEntry : this->xmlportParamContainers_)
     96        for (const auto& mapEntry : this->xmlportParamContainers_)
    9797            delete (mapEntry.second);
    98         for (auto& mapEntry : this->xmlportObjectContainers_)
     98        for (const auto& mapEntry : this->xmlportObjectContainers_)
    9999            delete (mapEntry.second);
    100100    }
Note: See TracChangeset for help on using the changeset viewer.