Changeset 10917 for code/branches/cpp11_v2/src/modules/overlays
- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/overlays/hud/HUDNavigation.cc
r10916 r10917 131 131 } 132 132 this->fontName_ = font; 133 for ( auto& mapEntry : this->activeObjectList_)133 for (const auto& mapEntry : this->activeObjectList_) 134 134 { 135 135 if (mapEntry.second.text_ != nullptr) … … 151 151 } 152 152 this->textSize_ = size; 153 for ( auto& mapEntry : this->activeObjectList_)153 for (const auto& mapEntry : this->activeObjectList_) 154 154 { 155 155 if (mapEntry.second.text_) … … 531 531 float yScale = this->getActualSize().y; 532 532 533 for ( auto& mapEntry : this->activeObjectList_)533 for (const auto& mapEntry : this->activeObjectList_) 534 534 { 535 535 if (mapEntry.second.health_ != nullptr) -
code/branches/cpp11_v2/src/modules/overlays/hud/HUDRadar.cc
r10916 r10917 92 92 Ogre::OverlayManager::getSingleton().destroyOverlayElement(this->map3DBack_); 93 93 94 for ( auto& mapEntry : this->radarObjects_)94 for (const auto& mapEntry : this->radarObjects_) 95 95 { 96 96 Ogre::OverlayManager::getSingleton().destroyOverlayElement(mapEntry.second);
Note: See TracChangeset
for help on using the changeset viewer.