]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkAny.h
MagicBox : support of data synchronization + various related fixes
[bbtk.git] / kernel / src / bbtkAny.h
index 9fbc9e732c088bfa6ea21d7bd1faa32626f75b50..a343e79c5632a811a66a2535a416a4856686a422 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAny.h,v $
   Language:  C++
-  Date:      $Date: 2009/01/07 13:08:19 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2009/03/30 14:42:16 $
+  Version:   $Revision: 1.7 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -333,7 +333,7 @@ namespace bbtk
     /// Returns true iff the contained type is a pointer
     inline bool contains_pointer()
     {
-      return content->is_pointer() ;
+      return content ? content->is_pointer() : false;
     }
 
     /// Returns true iff the contained type is t