Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2008, 12:40:27 AM (16 years ago)
Author:
landauf
Message:
  • added several "delete"s to the destructors of some core classes.
  • added Identifier::destroyAllIdentifiers() function, maybe this comes in handy in the future
  • moved XMLPort param and object containers from ClassIdentifier to Identifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/core/Super.h

    r1679 r1682  
    127127    #undef SUPER_INTRUSIVE_CONSTRUCTOR
    128128  #endif /* SUPER_INTRUSIVE_CONSTRUCTOR */
     129
     130  #ifdef SUPER_INTRUSIVE_DESTRUCTOR
     131
     132////////////////////////////
     133// Function-specific code //
     134////////////////////////////
     135
     136if (this->superFunctionCaller_testfunction_)
     137    delete this->superFunctionCaller_testfunction_;
     138
     139    #undef SUPER_INTRUSIVE_DESTRUCTOR
     140  #endif /* SUPER_INTRUSIVE_DESTRUCTOR */
    129141#endif /* _Super_H__ */
Note: See TracChangeset for help on using the changeset viewer.