]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Wed, 7 Jan 2009 13:08:19 +0000 (13:08 +0000)
committerguigues <guigues>
Wed, 7 Jan 2009 13:08:19 +0000 (13:08 +0000)
kernel/src/bbtkAny.h

index 3be259f0d600aaf3830d49561d17731929d941b5..9fbc9e732c088bfa6ea21d7bd1faa32626f75b50 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAny.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:12 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2009/01/07 13:08:19 $
+  Version:   $Revision: 1.6 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -339,7 +339,7 @@ namespace bbtk
     /// Returns true iff the contained type is t
     inline bool contains(TypeInfo t)
     {
-      return ( (bool)(type() == t) );
+      return ( (bool)((type() == t)!=0) );
      }
 
     /// Returns true iff any of type ValueType can be held