Changeset 10560
- Timestamp:
- Aug 29, 2015, 6:58:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/overlays/OverlayGroup.cc
r10558 r10560 106 106 void OverlayGroup::addElement(OrxonoxOverlay* element) 107 107 { 108 hudElements_.insert( StrongPtr<OrxonoxOverlay>(element));108 hudElements_.insert(element); 109 109 element->setOverlayGroup( this ); 110 110 if (this->owner_) … … 122 122 bool OverlayGroup::removeElement(OrxonoxOverlay* element) 123 123 { 124 if(this->hudElements_.erase( StrongPtr<OrxonoxOverlay>(element)) == 0)124 if(this->hudElements_.erase(element) == 0) 125 125 return false; 126 126 return true;
Note: See TracChangeset
for help on using the changeset viewer.