Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2010, 12:27:53 AM (14 years ago)
Author:
landauf
Message:

createExecutor() now returns a SharedPtr instead of a pointer. Adapted code that uses createExecutor() accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/modules/overlays/hud/ChatOverlay.cc

    r6417 r7200  
    9191        Timer* timer = new Timer();
    9292        this->timers_.insert(timer); // store the timer in a set to destroy it in the destructor
    93         Executor* executor = createExecutor(createFunctor(&ChatOverlay::dropMessage, this));
     93        const ExecutorPtr& executor = createExecutor(createFunctor(&ChatOverlay::dropMessage, this));
    9494        executor->setDefaultValues(timer);
    9595        timer->setTimer(this->displayTime_, false, executor, true);
Note: See TracChangeset for help on using the changeset viewer.