Changeset 10919 for code/branches/cpp11_v2/src/orxonox/weaponsystem
- Timestamp:
- Dec 5, 2015, 10:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/weaponsystem/WeaponPack.cc
r10916 r10919 153 153 void WeaponPack::notifyWeapons() 154 154 { 155 for ( std::vector<Weapon *>::const_iterator it = this->weapons_.begin(); it != this->weapons_.end(); ++it)156 (*it)->setWeaponPack(this);155 for (Weapon* weapon : this->weapons_) 156 weapon->setWeaponPack(this); 157 157 } 158 158 }
Note: See TracChangeset
for help on using the changeset viewer.