Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3012 for code


Ignore:
Timestamp:
May 21, 2009, 8:17:33 PM (16 years ago)
Author:
rgrieder
Message:

Build fix: Member functions marked as const should only iterate over member containers with constant iterators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapons/src/orxonox/objects/weaponsystem/WeaponSystem.cc

    r2919 r3012  
    228228    {
    229229        unsigned int i = 0;
    230         for (std::set<WeaponPack*>::iterator it = this->weaponPacks_.begin(); it != this->weaponPacks_.end(); ++it)
     230        for (std::set<WeaponPack*>::const_iterator it = this->weaponPacks_.begin(); it != this->weaponPacks_.end(); ++it)
    231231        {
    232232            ++i;
Note: See TracChangeset for help on using the changeset viewer.