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/BaseObject.h

    r5806 r5829  
    4040    if (this->getMainStateName() == statename) \
    4141    { \
    42         this->functorSetMainState_ = createFunctor(&classname::setfunction)->setObject(this); \
    43         this->functorGetMainState_ = createFunctor(&classname::getfunction)->setObject(this); \
     42        this->functorSetMainState_ = createFunctor(&classname::setfunction, this); \
     43        this->functorGetMainState_ = createFunctor(&classname::getfunction, this); \
    4444    }
    4545
Note: See TracChangeset for help on using the changeset viewer.