Changeset 10821 for code/branches/cpp11_v2/src/modules/pickup/items
- Timestamp:
- Nov 21, 2015, 7:05:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/pickup/items/MetaPickup.cc
r10765 r10821 118 118 std::set<Pickupable*> pickups = carrier->getPickups(); 119 119 // Iterate over all Pickupables of the PickupCarrier. 120 for( std::set<Pickupable*>::iterator it = pickups.begin(); it != pickups.end(); it++)120 for(auto pickup : pickups) 121 121 { 122 Pickupable* pickup = (*it);122 123 123 if(pickup == nullptr || pickup == this) 124 124 continue;
Note: See TracChangeset
for help on using the changeset viewer.