]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUtilities.h
Bug fix in Utilities::SplitAroundFirstDot
[bbtk.git] / kernel / src / bbtkUtilities.h
index d9c3193a0a07eac9f7c8cdcefb62fed751a76e84..51f85193ff0b9ec5554611e86cb3ff44d0ae9662 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUtilities.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 16:55:04 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/01/23 07:51:51 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -285,14 +285,12 @@ namespace bbtk
         right = in.substr(pos+1,in.size());
 
       }
-      /*
       else
       {
-        bbtkError(in<<" : expected 'a.b' format but no dot found");
+       // bbtkError(in<<" : expected 'a.b' format but no dot found");
+       left ="";
+       right = "";
       }
-      */
-      left ="";
-      right = "";
     }
 
     static inline std::string get_file_name(const std::string& s)