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

    r10821 r10916  
    196196
    197197                    // add command to the buffer if not yet existing
    198                     for (auto & elem : *paramCommandBuffer_)
    199                     {
    200                         if (elem->evaluation_.getConsoleCommand()
     198                    for (BufferedParamCommand* command : *paramCommandBuffer_)
     199                    {
     200                        if (command->evaluation_.getConsoleCommand()
    201201                            == eval.getConsoleCommand())
    202202                        {
    203203                            // already in list
    204                             cmd->paramCommand_ = elem;
     204                            cmd->paramCommand_ = command;
    205205                            break;
    206206                        }
Note: See TracChangeset for help on using the changeset viewer.