]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
no message
[bbtk.git] / kernel / src / bbtkBlackBox.h
index 83c27b3e3f2049ba2f8b7d0ed67969582af3e6a5..ab689bd6ab9d6c81377c2b4f71f4e951f9e382a5 100644 (file)
@@ -2,8 +2,8 @@
   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/13 17:39:21 $
+  Version:   $Revision: 1.30 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -639,7 +639,10 @@ namespace bbtk
     /// 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; }
     //==================================================================