Program: bbtk
Module: $RCSfile: bbtkBlackBox.h,v $
Language: C++
- Date: $Date: 2009/06/11 09:51:42 $
- Version: $Revision: 1.28 $
+ Date: $Date: 2009/10/05 22:44:48 $
+ Version: $Revision: 1.29 $
=========================================================================*/
/* ---------------------------------------------------------------------
/// The default implementation is to issue 'delete this'
/// but it can be redefined in inherited classes to handle special deletion mechanisms (e.g. ref counting, private destructors, such as vtk objects deletion with method Delete, etc.).
/// \return The number of remaining references on the object after the call (if meaningfull...): used by bbtk to warn a user if another smart pointing system is still holding the object...
- virtual int bbDelete() { delete this; return 0; }
+
+//JCP 21-09-20 09 delete this throws and exception change due to compiler version changing and boost version
+ virtual int bbDelete() {// delete this;
+ return 0; }
//==================================================================