X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkAny.h;h=a343e79c5632a811a66a2535a416a4856686a422;hb=a35973b128a2f7130b619a2a11a35cfd418b21b6;hp=9fbc9e732c088bfa6ea21d7bd1faa32626f75b50;hpb=5ecfbf82eea9a965a11ae9f47377ad900b7253b7;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