Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 6:45:20 PM (6 years ago)
Author:
landauf
Message:

no need to call get() on Weak or StrongPtr. they are automatically converted to normal pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/objects/SpaceBoundaries.cc

    r9941 r10558  
    210210        for( std::list<WeakPtr<Pawn> >::iterator current = pawnsIn_.begin(); current != pawnsIn_.end(); current++ )
    211211        {
    212             Pawn* currentPawn = current->get();
     212            Pawn* currentPawn = *current;
    213213            if( currentPawn && currentPawn->getNode() )
    214214            {
Note: See TracChangeset for help on using the changeset viewer.