Ignore:
Timestamp:
May 5, 2016, 5:14:19 PM (10 years ago)
Author:
Frederik Heber <heber@…>
Parents:
4a319a
git-author:
Frederik Heber <heber@…> (05/05/16 14:54:56)
git-committer:
Frederik Heber <heber@…> (05/05/16 17:14:19)
Message:

Replaced .. by getConstInstance() wherever possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/CommandLineParser.cpp

    r4a319a r94605f  
    115115
    116116  bool ActionAlreadyAdded_flag = false;
    117   ActionQueue &AQ = ActionQueue::getInstance();
     117  const ActionQueue &AQ = ActionQueue::getConstInstance();
    118118  ActionQueue::ActionTokens_t tokens = AQ.getListOfActions();
    119119  for (ActionQueue::ActionTokens_t::const_iterator iter = tokens.begin();
     
    541541  std::map <std::string, std::string> result;
    542542
    543   ActionQueue &AQ = ActionQueue::getInstance();
     543  const ActionQueue &AQ = ActionQueue::getConstInstance();
    544544  ActionQueue::ActionTokens_t tokens = AQ.getListOfActions();
    545545  for (ActionQueue::ActionTokens_t::const_iterator iter = tokens.begin();
Note: See TracChangeset for help on using the changeset viewer.