X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkAny.h;h=a343e79c5632a811a66a2535a416a4856686a422;hb=f45b7f05b03f411759981fe13645466a1c289e6a;hp=9fbc9e732c088bfa6ea21d7bd1faa32626f75b50;hpb=c7a94dfa5f48e30bb931b45bd6d7c42954ad9ed5;p=bbtk.git diff --git a/kernel/src/bbtkAny.h b/kernel/src/bbtkAny.h index 9fbc9e7..a343e79 100644 --- a/kernel/src/bbtkAny.h +++ b/kernel/src/bbtkAny.h @@ -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