Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3544 in orxonox.OLD for orxonox/trunk/src/track_node.cc


Ignore:
Timestamp:
Mar 14, 2005, 10:54:00 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now the delete-process is as inteded by c++
virtual ~ClassName extends deletion and deletes also the MasterClass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/track_node.cc

    r3533 r3544  
    6666TrackNode::~TrackNode ()
    6767{
    68   this->destroy();
     68  singletonRef = NULL;
    6969}
    70 
    71 /**
    72    \brief destroys the TrackNode and all its alocated memory.
    73 */
    74 void TrackNode::destroy(void)
    75 {
    76   singletonRef = NULL;
    77  
    78   static_cast<PNode*>(this)->destroy();
    79 }
Note: See TracChangeset for help on using the changeset viewer.