Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6512 in orxonox.OLD for trunk/src/lib/lang


Ignore:
Timestamp:
Jan 17, 2006, 10:01:07 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL

SuperClass::loadParams(root);

isntead of:
static_cast<SuperClass*>(this)→loadParams(root);

which was quite stupid anyways

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/base_object.h

    r6341 r6512  
    2828  virtual ~BaseObject ();
    2929
    30   void loadParams(const TiXmlElement* root);
     30  virtual void loadParams(const TiXmlElement* root);
    3131  void setName (const char* newName);
    3232  /** returns the Name of this Object */
Note: See TracChangeset for help on using the changeset viewer.