Changeset 6534 for code/trunk
- Timestamp:
- Mar 16, 2010, 10:59:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/InterfaceCompilation.cc
r6533 r6534 64 64 PickupCarrier::~PickupCarrier() 65 65 { 66 while(this->pickups_.size() > 0) 66 std::set<Pickupable*>::iterator it = this->pickups_.begin(); 67 while(it != this->pickups_.end()) 67 68 { 68 std::set<Pickupable*>::iterator it = this->pickups_.begin(); 69 this->pickups_.erase(it); 70 (*it)->destroy(); 69 (*(it++))->destroy(); 71 70 } 72 71
Note: See TracChangeset
for help on using the changeset viewer.