]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
Works with visual studio 2009
[bbtk.git] / kernel / src / bbtkBlackBox.h
index 83c27b3e3f2049ba2f8b7d0ed67969582af3e6a5..79697286b4b8a69d43f6cd963c1aafbff2ab3bba 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/05 22:44:48 $
+  Version:   $Revision: 1.29 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -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; }
     //==================================================================