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/controllers/WaypointController.cc

    r10821 r10916  
    4444    WaypointController::~WaypointController()
    4545    {
    46         for (auto & elem : this->waypoints_)
     46        for (WorldEntity* waypoint : this->waypoints_)
    4747        {
    48             if(elem)
    49                 elem->destroy();
     48            if(waypoint)
     49                waypoint->destroy();
    5050        }
    5151    }
Note: See TracChangeset for help on using the changeset viewer.