Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7214 in orxonox.OLD for branches/std/src/lib/lang/base_object.h


Ignore:
Timestamp:
Mar 10, 2006, 7:18:03 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now the branche works again, as it did before

File:
1 edited

Legend:

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

    r7203 r7214  
    3333  void setName (const std::string& newName);
    3434  /** returns the Name of this Object */
    35   inline const char* getName ()const { return this->objectName; };
     35  inline const char* getName ()const { return this->objectName.c_str(); };
    3636  /** @returns the XML-Element with whicht this Object was loaded */
    3737  inline TiXmlNode* getXmlElem() const { return this->xmlElem; };
     
    6060    const char*        className;        //!< the name of the class
    6161    long               classID;          //!< this is the id from the class_id.h enumeration
    62     char*              objectName;       //!< The name of this object
     62    std::string        objectName;       //!< The name of this object
    6363
    6464    ClassList*         classList;        //!< Pointer to the ClassList this Object is inside of
Note: See TracChangeset for help on using the changeset viewer.