Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 27, 2013, 11:17:45 PM (12 years ago)
Author:
landauf
Message:

moved logic to remove an element from an ObjectListBase from MetaObjectList to ObjectListBase

Location:
code/branches/core6/src/libraries/core/class
Files:
2 edited

Legend:

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

    r9564 r9593  
    5252        : classID_(IdentifierManager::classIDCounter_s++)
    5353    {
    54         this->objects_ = new ObjectListBase(this);
     54        this->objects_ = new ObjectListBase();
    5555
    5656        this->bCreatedOneObject_ = false;
  • code/branches/core6/src/libraries/core/class/Identifier.h

    r9586 r9593  
    428428    {
    429429        orxout(verbose, context::object_list) << "Added object to " << this->getName() << "-list." << endl;
    430         object->metaList_->add(this->objects_, this->objects_->add(new ObjectListElement<T>(object)));
     430        object->metaList_->add(this->objects_, this->objects_->add(object));
    431431    }
    432432
Note: See TracChangeset for help on using the changeset viewer.