Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 20, 2007, 8:38:53 PM (16 years ago)
Author:
landauf
Message:
  • *cough* fixed another small bug in the object-list *cough*
  • made the object-list a template, to avoid a dynamic_cast in the Iterator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/IdentifierIncludes.h

    r221 r224  
    1313    if (Identifier::isCreatingHierarchy() && this->getParents()) \
    1414        this->getParents()->add(this->getIdentifier()); \
    15     this->getIdentifier()->addObject(this)
     15    ClassIdentifier<ClassName>::addObject(this)
    1616
    1717#define registerRootObject(ClassName) \
     
    2727    if (Identifier::isCreatingHierarchy() && this->getParents()) \
    2828        this->getParents()->add(this->getIdentifier()); \
    29     this->getIdentifier()->addObject(this)
     29    ClassIdentifier<ClassName>::addObject(this)
    3030
    3131#define registerObject(ClassName) \
Note: See TracChangeset for help on using the changeset viewer.