Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 6:18:30 PM (9 years ago)
Author:
landauf
Message:

cleanup: no need to pass/return WeakPtrs to/from functions. normal pointers are enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/dodgerace/DodgeRaceShip.cc

    r10357 r10557  
    9090
    9191        // Camera
    92         WeakPtr<Camera> camera = this->getCamera();
     92        Camera* camera = this->getCamera();
    9393        if (camera != NULL)
    9494        {
     
    150150    }
    151151
    152     WeakPtr<DodgeRace> DodgeRaceShip::getGame()
     152    DodgeRace* DodgeRaceShip::getGame()
    153153    {
    154154        if (game == NULL)
Note: See TracChangeset for help on using the changeset viewer.