Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7218 in orxonox.OLD for branches/std/src/util/fast_factory.h


Ignore:
Timestamp:
Mar 12, 2006, 3:00:04 PM (18 years ago)
Author:
bensch
Message:

orxonox/std:: more strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/util/fast_factory.h

    r7216 r7218  
    121121  {
    122122  public:
    123     static tFastFactory<T>* getFastFactory(ClassID classID, const char* fastFactoryName = NULL);
     123    static tFastFactory<T>* getFastFactory(ClassID classID, const std::string& fastFactoryName = NULL);
    124124
    125125  private:
    126     tFastFactory(ClassID classID, const char* fastFactoryName);
     126    tFastFactory(ClassID classID, const std::string& fastFactoryName);
    127127
    128128    virtual void fabricate();
     
    136136 */
    137137template<class T>
    138 tFastFactory<T>::tFastFactory(ClassID classID, const char* fastFactoryName)
     138tFastFactory<T>::tFastFactory(ClassID classID, const std::string& fastFactoryName)
    139139    : FastFactory(classID, fastFactoryName)
    140140{}
     
    147147 */
    148148template<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)
    150150{
    151151  tFastFactory<T>* tmpFac = NULL;
Note: See TracChangeset for help on using the changeset viewer.