- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/collisionshapes/CompoundCollisionShape.cc
r10916 r10917 65 65 { 66 66 // Delete all children 67 for ( auto& mapEntry : this->attachedShapes_)67 for (const auto& mapEntry : this->attachedShapes_) 68 68 { 69 69 // make sure that the child doesn't want to detach itself --> speedup because of the missing update … … 266 266 std::vector<CollisionShape*> shapes; 267 267 // Iterate through all attached CollisionShapes and add them to the list of shapes. 268 for( auto& mapEntry : this->attachedShapes_)268 for(const auto& mapEntry : this->attachedShapes_) 269 269 shapes.push_back(mapEntry.first); 270 270
Note: See TracChangeset
for help on using the changeset viewer.