]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkAny.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkAny.h
index 3c8b534bfadef18635366bdb2a337e6bc9ab6f76..2d7bb9d640117d45950f5a954c24fb0e37fce060 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAny.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/24 10:11:27 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/10/02 12:29:26 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -303,7 +303,7 @@ namespace bbtk
     /// Returns true iff the contained type is t
     inline bool contains(TypeInfo t)
     {
-      return ( type() == t );
+      return ( (bool)(type() == t) );
      }
 
     /// Returns true iff any of type ValueType can be held