- Timestamp:
- Mar 24, 2013, 10:30:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/class/Identifiable.cc
r9567 r9572 48 48 this->identifier_ = 0; 49 49 this->parents_ = 0; 50 this->metaList_ = new MetaObjectList();51 50 // Optimisation 52 51 this->objectPointers_.reserve(6); … … 58 57 Identifiable::~Identifiable() 59 58 { 60 // if (!this->requestedDestruction_)61 // orxout(internal_warning) << "Destroyed object without destroy() (" << this->getIdentifier()->getName() << ')' << endl;62 63 this->unregisterObject();64 65 59 // parents_ exists only if isCreatingHierarchy() of the associated Identifier returned true while creating the class 66 60 if (this->parents_) 67 61 delete this->parents_; 68 }69 70 /**71 @brief Removes this object from the object-lists.72 */73 void Identifiable::unregisterObject()74 {75 if (this->metaList_)76 delete this->metaList_;77 this->metaList_ = 0;78 62 } 79 63
Note: See TracChangeset
for help on using the changeset viewer.