Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2010, 7:49:31 PM (14 years ago)
Author:
rgrieder
Message:

Removed a load of warnings for VS 2005 and possibly VS 2008.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/weaponsystem/WeaponSystem.cc

    r7163 r7183  
    222222
    223223        // Remove the WeaponPack from the WeaponSystem
    224         std::vector<WeaponPack*>::iterator it = std::find(this->weaponPacks_.begin(),this->weaponPacks_.end(), wPack);
    225         assert(it !=this->weaponPacks_.end());
    226         this->weaponPacks_.erase(it);
     224        std::vector<WeaponPack*>::iterator it2 = std::find(this->weaponPacks_.begin(),this->weaponPacks_.end(), wPack);
     225        assert(it2 !=this->weaponPacks_.end());
     226        this->weaponPacks_.erase(it2);
    227227    }
    228228
Note: See TracChangeset for help on using the changeset viewer.