- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/weaponsystem/Munition.cc
r10916 r10917 55 55 Munition::~Munition() 56 56 { 57 for ( auto& mapEntry : this->currentMagazines_)57 for (const auto& mapEntry : this->currentMagazines_) 58 58 delete mapEntry.second; 59 59 } … … 316 316 { 317 317 bool change = false; 318 for ( auto& mapEntry : this->currentMagazines_)318 for (const auto& mapEntry : this->currentMagazines_) 319 319 { 320 320 // Add munition if the magazine isn't full (but only to loaded magazines)
Note: See TracChangeset
for help on using the changeset viewer.