Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2005, 11:58:49 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: constifization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/util/loading/factory.h

    r4252 r4253  
    4646 
    4747
    48   virtual BaseObject* fabricate( TiXmlElement* root);
     48  virtual BaseObject* fabricate(const TiXmlElement* root);
    4949  void initialize();
    5050  void registerFactory( Factory* factory);
     
    6767 
    6868  private:
    69   BaseObject* fabricate( TiXmlElement* root);
     69  BaseObject* fabricate(const TiXmlElement* root);
    7070};
    7171
     
    8282
    8383template<class T>
    84 BaseObject* tFactory<T>::fabricate( TiXmlElement* root)
     84BaseObject* tFactory<T>::fabricate(const TiXmlElement* root)
    8585{
    8686  if(!strcmp(root->Value(), getFactoryName()))
Note: See TracChangeset for help on using the changeset viewer.