Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 29, 2013, 10:37:15 PM (12 years ago)
Author:
landauf
Message:

delete factory before setting a new one (mostly for unit tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/object/ClassFactory.h

    r9563 r9602  
    7474            {
    7575                orxout(verbose, context::misc::factory) << "Create entry for " << name << " in Factory." << endl;
    76                 ClassIdentifier<T>::getIdentifier(name)->addFactory(this);
     76                ClassIdentifier<T>::getIdentifier(name)->setFactory(this);
    7777                ClassIdentifier<T>::getIdentifier()->setLoadable(bLoadable);
    7878            }
Note: See TracChangeset for help on using the changeset viewer.