Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 13, 2016, 11:13:30 PM (8 years ago)
Author:
landauf
Message:

added c++11 features to code that was modified in presentationHS15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3/src/orxonox/gametypes/Dynamicmatch.cc

    r11054 r11062  
    8888    Dynamicmatch::~Dynamicmatch()
    8989    {
    90         for (std::set<Timer*>::iterator it = this->piggyTimers_.begin(); it != this->piggyTimers_.end(); ++it)
    91             delete (*it);
     90        for (Timer* timer : this->piggyTimers_)
     91            delete timer;
    9292    }
    9393
Note: See TracChangeset for help on using the changeset viewer.