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/libraries/core/GUIManager.cc

    r11054 r11062  
    267267            ArgumentCompletionList names;
    268268            const std::vector<std::string> guis = GUIManager::getInstance().getLoadedGUIs();
    269             for (size_t i = 0; i < guis.size(); ++i)
    270                 names.push_back(ArgumentCompletionListElement(guis[i], getLowercase(guis[i])));
     269            for (const std::string gui : guis)
     270                names.push_back(ArgumentCompletionListElement(gui, getLowercase(gui)));
    271271            return names;
    272272        }
Note: See TracChangeset for help on using the changeset viewer.