Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 11, 2013, 11:00:43 AM (11 years ago)
Author:
landauf
Message:

Factory::fabricate() returns an Identifiable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/class/IdentifierManager.cc

    r9564 r9632  
    9191            if (it->second->hasFactory())
    9292            {
    93                 OrxonoxClass* temp = it->second->fabricate(0);
    94                 temp->destroy();
     93                Identifiable* temp = it->second->fabricate(0);
     94                delete temp;
    9595            }
    9696        }
Note: See TracChangeset for help on using the changeset viewer.