Changeset 3552 in orxonox.OLD for orxonox/trunk/src/lib/lang
- Timestamp:
- Mar 14, 2005, 11:58:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.cc
r3544 r3552 37 37 BaseObject::~BaseObject () 38 38 { 39 39 delete []this->className; 40 40 } 41 41 42 42 void BaseObject::setClassName (char* className) 43 43 { 44 this->className = className; 44 this->className = new char[strlen(className)+1]; 45 strcpy(this->className, className); 45 46 } 46 47
Note: See TracChangeset
for help on using the changeset viewer.