Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

use actual types instead of 'auto'. only exception is for complicated template types, e.g. when iterating over a map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/worldentities/pawns/TeamBaseMatchBase.cc

    r10821 r10916  
    8080
    8181        std::set<WorldEntity*> attachments = this->getAttachedObjects();
    82         for (const auto & attachment : attachments)
     82        for (WorldEntity* attachment : attachments)
    8383        {
    84             if ((attachment)->isA(Class(TeamColourable)))
     84            if (attachment->isA(Class(TeamColourable)))
    8585            {
    8686                TeamColourable* tc = orxonox_cast<TeamColourable*>(attachment);
Note: See TracChangeset for help on using the changeset viewer.