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/libraries/core/GraphicsManager.cc

    r5810 r5829  
    318318
    319319        // add console commands
    320         FunctorMember<GraphicsManager>* functor1 = createFunctor(&GraphicsManager::printScreen);
    321         ccPrintScreen_ = createConsoleCommand(functor1->setObject(this), "printScreen");
     320        ccPrintScreen_ = createConsoleCommand(createFunctor(&GraphicsManager::printScreen, this), "printScreen");
    322321        CommandExecutor::addConsoleCommandShortcut(ccPrintScreen_);
    323322    }
Note: See TracChangeset for help on using the changeset viewer.