Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3544 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Mar 14, 2005, 10:54:00 AM (20 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/lib/coord/null_parent.cc

    r3543 r3544  
    6161NullParent::~NullParent ()
    6262{
    63   this->destroy();
    64 }
    65 
    66 /**
    67    \brief destroys all allocated memory
    68 */
    69 void NullParent::destroy(void)
    70 {
    7163  //delete singletonRef;
    7264  singletonRef = NULL;
    73 
    74   static_cast<PNode*>(this)->destroy();
    7565}
    76 
    77 
    7866
    7967/**
Note: See TracChangeset for help on using the changeset viewer.