Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3544 in orxonox.OLD for orxonox/trunk/src/lib/coord/helper_parent.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/lib/coord/helper_parent.cc

    r3533 r3544  
    4141HelperParent::~HelperParent ()
    4242{
    43   this->destroy();
     43
    4444}
    45 
    46 
    47 /**
    48    \brief destroys all allocated memory
    49 */
    50 void HelperParent::destroy(void)
    51 {
    52 
    53 
    54   static_cast<PNode*>(this)->destroy();
    55 }
Note: See TracChangeset for help on using the changeset viewer.