Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 28, 2009, 9:31:24 PM (15 years ago)
Author:
landauf
Message:

replaced most occurrences of setObject(o) in combination with createFunctor(f) with the more convenient createFunctor(f, o)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/modules/gamestates/GSIOConsole.cc

    r5738 r5829  
    5050    {
    5151        {
    52             FunctorMember<GSIOConsole>* functor = createFunctor(&GSIOConsole::loadMenu);
    53             functor->setObject(this);
    54             this->ccLoadMenu_ = createConsoleCommand(functor, "loadMenu");
     52            this->ccLoadMenu_ = createConsoleCommand(createFunctor(&GSIOConsole::loadMenu, this), "loadMenu");
    5553            CommandExecutor::addConsoleCommandShortcut(this->ccLoadMenu_);
    5654        }
Note: See TracChangeset for help on using the changeset viewer.