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/util/output/BaseWriter.cc

    r10821 r10916  
    116116
    117117        // iterate over all strings in the config-vector
    118         for (auto & full_name : this->configurableAdditionalContexts_)
     118        for (const std::string& full_name : this->configurableAdditionalContexts_)
    119119        {
    120            
    121 
    122120            // split the name into main-name and sub-name (if given; otherwise sub-name remains empty). both names are separated by ::
    123121            std::string name = full_name;
Note: See TracChangeset for help on using the changeset viewer.