Changeset 4980 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Aug 10, 2005, 4:53:15 PM (19 years ago)
- Location:
- orxonox/trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/fast_factory.cc
r4979 r4980 55 55 if (this == first) 56 56 this->first = NULL; 57 this->flush(); 57 58 58 59 if (this->next) 59 60 delete this->next; 61 } 62 63 /** 64 * deletes all FastFactories 65 */ 66 void FastFactory::deleteAll() 67 { 68 if (FastFactory::first) 69 delete FastFactory::first; 60 70 } 61 71 -
orxonox/trunk/src/util/fast_factory.h
r4979 r4980 53 53 public: 54 54 virtual ~FastFactory (); 55 static void deleteAll(); 55 56 56 57 // functions to push and pop elements of this class
Note: See TracChangeset
for help on using the changeset viewer.