Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

made mapEntry const& wherever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/gametypes/UnderAttack.cc

    r10916 r10917  
    7474        this->gameEnded_ = true;
    7575
    76         for (auto& mapEntry : this->teamnumbers_)
     76        for (const auto& mapEntry : this->teamnumbers_)
    7777        {
    7878            if (mapEntry.first->getClientID() == NETWORK_PEER_ID_UNKNOWN)
     
    155155                ChatManager::message(message);
    156156
    157                 for (auto& mapEntry : this->teamnumbers_)
     157                for (const auto& mapEntry : this->teamnumbers_)
    158158                {
    159159                    if (mapEntry.first->getClientID() == NETWORK_PEER_ID_UNKNOWN)
Note: See TracChangeset for help on using the changeset viewer.