Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2015, 11:32:08 PM (9 years ago)
Author:
landauf
Message:

made mapEntry const& wherever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/module/PluginManager.cc

    r10916 r10917  
    5959        ModifyConsoleCommand("PluginManager", __CC_PluginManager_unload_name).setObject(nullptr);
    6060
    61         for (auto& mapEntry : this->references_)
     61        for (const auto& mapEntry : this->references_)
    6262            delete mapEntry.second;
    63         for (auto& mapEntry : this->plugins_)
     63        for (const auto& mapEntry : this->plugins_)
    6464            delete mapEntry.second;
    6565    }
Note: See TracChangeset for help on using the changeset viewer.