- Timestamp:
- Aug 10, 2005, 4:53:15 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4975 r4980 43 43 44 44 #include "factory.h" 45 #include "fast_factory.h" 46 45 47 #include "benchmark.h" 46 48 … … 90 92 delete CDEngine::getInstance(); 91 93 delete GarbageCollector::getInstance(); 94 FastFactory::deleteAll(); 92 95 93 96 delete EventHandler::getInstance(); -
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.