Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10560


Ignore:
Timestamp:
Aug 29, 2015, 6:58:38 PM (5 years ago)
Author:
landauf
Message:

use auto-conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/overlays/OverlayGroup.cc

    r10558 r10560  
    106106    void OverlayGroup::addElement(OrxonoxOverlay* element)
    107107    {
    108         hudElements_.insert(StrongPtr<OrxonoxOverlay>(element));
     108        hudElements_.insert(element);
    109109        element->setOverlayGroup( this );
    110110        if (this->owner_)
     
    122122    bool OverlayGroup::removeElement(OrxonoxOverlay* element)
    123123    {
    124         if(this->hudElements_.erase(StrongPtr<OrxonoxOverlay>(element)) == 0)
     124        if(this->hudElements_.erase(element) == 0)
    125125            return false;
    126126        return true;
Note: See TracChangeset for help on using the changeset viewer.