Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4980 in orxonox.OLD for orxonox/trunk/src/util/fast_factory.cc


Ignore:
Timestamp:
Aug 10, 2005, 4:53:15 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now also the FastFactories get deleted at the end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/fast_factory.cc

    r4979 r4980  
    5555  if (this == first)
    5656    this->first = NULL;
     57  this->flush();
    5758
    5859  if (this->next)
    5960    delete this->next;
     61}
     62
     63/**
     64 * deletes all FastFactories
     65 */
     66void FastFactory::deleteAll()
     67{
     68  if (FastFactory::first)
     69    delete FastFactory::first;
    6070}
    6171
Note: See TracChangeset for help on using the changeset viewer.