Changeset 4950 in orxonox.OLD for orxonox/trunk/src/util/fast_factory.h
- Timestamp:
- Jul 24, 2005, 12:36:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/fast_factory.h
r4947 r4950 66 66 inline static FastFactory* getFirst() { return FastFactory::first; }; 67 67 68 static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL); 68 static FastFactory* searchFastFactory(ClassID classID); 69 static FastFactory* searchFastFactory(const char* fastFactoryName); 70 71 ClassID getStoredID() const { return this->storedClassID; }; 69 72 70 73 protected: … … 135 138 tFastFactory<T>* tmpFac = NULL; 136 139 if (FastFactory::getFirst() != NULL) 137 tmpFac = static_cast<tFastFactory<T>*>(FastFactory::getFirst()->searchFastFactory(classID , fastFactoryName));140 tmpFac = static_cast<tFastFactory<T>*>(FastFactory::getFirst()->searchFastFactory(classID)); 138 141 139 142 if (tmpFac != NULL)
Note: See TracChangeset
for help on using the changeset viewer.