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/modules/overlays/hud/HUDNavigation.cc

    r10916 r10917  
    131131        }
    132132        this->fontName_ = font;
    133         for (auto& mapEntry : this->activeObjectList_)
     133        for (const auto& mapEntry : this->activeObjectList_)
    134134        {
    135135            if (mapEntry.second.text_ != nullptr)
     
    151151        }
    152152        this->textSize_ = size;
    153         for (auto& mapEntry : this->activeObjectList_)
     153        for (const auto& mapEntry : this->activeObjectList_)
    154154        {
    155155            if (mapEntry.second.text_)
     
    531531        float yScale = this->getActualSize().y;
    532532
    533         for (auto& mapEntry : this->activeObjectList_)
     533        for (const auto& mapEntry : this->activeObjectList_)
    534534        {
    535535            if (mapEntry.second.health_ != nullptr)
Note: See TracChangeset for help on using the changeset viewer.