- Timestamp:
- Jan 4, 2014, 5:29:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/object/ObjectListBase.cc
r9667 r9975 64 64 65 65 /** 66 @brief Destructor: De letes all list-elements, but NOT THE OBJECTS.66 @brief Destructor: Detaches all list-elements, but doesn't delete them (nor the objects). 67 67 */ 68 68 ObjectListBase::~ObjectListBase() … … 79 79 current = next; 80 80 } 81 82 if (!this->listeners_.empty()) 83 orxout(internal_error) << "Deleting ObjectListBase but it still has " << this->listeners_.size() << " listeners. This will lead to a crash. " 84 << "Ensure that all Iterators are destroyed before deleting object lists." << endl; 81 85 } 82 86
Note: See TracChangeset
for help on using the changeset viewer.