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/overlays/OverlayGroup.cc

    r11054 r11062  
    5151        {
    5252            ArgumentCompletionList names;
    53             for (ObjectList<OverlayGroup>::iterator it = ObjectList<OverlayGroup>().begin(); it; ++it)
    54                 names.push_back(ArgumentCompletionListElement(it->getName(), getLowercase(it->getName())));
     53            for (OverlayGroup* overlayGroup : ObjectList<OverlayGroup>())
     54                names.push_back(ArgumentCompletionListElement(overlayGroup->getName(), getLowercase(overlayGroup->getName())));
    5555            return names;
    5656        }
Note: See TracChangeset for help on using the changeset viewer.