Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9809 in orxonox.OLD for branches/new_class_id/src/lib


Ignore:
Timestamp:
Sep 25, 2006, 12:42:14 AM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: faster and less debug again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/lang/base_object.cc

    r9807 r9809  
    4242  /// Remove from the ObjectLists
    4343  ClassEntries::iterator it;
    44   printf("Deleting Object of type %s::%s\n", this->getClassCName(), getCName());
     44  PRINTF(5)("Deleting Object of type %s::%s\n", this->getClassCName(), getCName());
    4545  for (it = this->_classes.begin(); it != this->_classes.end(); ++it)
    4646  {
    47     assert((*it)._objectList->checkIteratorInList((*it)._iterator) || (*it)._objectList->checkObjectInList(this));
     47    if (ORX_DEBUG >= 5)
     48      assert((*it)._objectList->checkIteratorInList((*it)._iterator) || (*it)._objectList->checkObjectInList(this));
    4849    (*it)._objectList->unregisterObject((*it)._iterator);
    4950    delete (*it)._iterator;
Note: See TracChangeset for help on using the changeset viewer.