Changeset 7218 in orxonox.OLD for branches/std/src/util
- Timestamp:
- Mar 12, 2006, 3:00:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/util/fast_factory.h
r7216 r7218 121 121 { 122 122 public: 123 static tFastFactory<T>* getFastFactory(ClassID classID, const char*fastFactoryName = NULL);123 static tFastFactory<T>* getFastFactory(ClassID classID, const std::string& fastFactoryName = NULL); 124 124 125 125 private: 126 tFastFactory(ClassID classID, const char*fastFactoryName);126 tFastFactory(ClassID classID, const std::string& fastFactoryName); 127 127 128 128 virtual void fabricate(); … … 136 136 */ 137 137 template<class T> 138 tFastFactory<T>::tFastFactory(ClassID classID, const char*fastFactoryName)138 tFastFactory<T>::tFastFactory(ClassID classID, const std::string& fastFactoryName) 139 139 : FastFactory(classID, fastFactoryName) 140 140 {} … … 147 147 */ 148 148 template<class T> 149 tFastFactory<T>* tFastFactory<T>::getFastFactory(ClassID classID, const char*fastFactoryName)149 tFastFactory<T>* tFastFactory<T>::getFastFactory(ClassID classID, const std::string& fastFactoryName) 150 150 { 151 151 tFastFactory<T>* tmpFac = NULL;
Note: See TracChangeset
for help on using the changeset viewer.