Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2005, 2:39:59 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: performance-update when creating a new entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/lib/lang/base_object.h

    r3651 r4257  
    1717  virtual ~BaseObject ();
    1818
    19   void setClassName (char* className);
    20   char* getClassName(void) const;
     19  void setClassName (const char* className);
     20  inline const char* getClassName(void) const { return this->className;};
    2121  bool isA (char* className);
    2222
     
    2525
    2626 private:
    27   char* className;
     27  const char* className;
    2828  bool finalized;
    2929};
Note: See TracChangeset for help on using the changeset viewer.