]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUtilities.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkUtilities.cxx
index dafd6ceb9f13f41c652aa526f19e32b78b0a7fa7..778b45e215e705a18e2926d9f7bfee6ed1e962e0 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUtilities.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/11/26 12:49:57 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2008/12/12 10:20:48 $
+  Version:   $Revision: 1.10 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -527,7 +527,7 @@ namespace bbtk
       std::string ss("\\n");
       std::string::size_type pos = 0;
       pos = s.find(ss,0);
-      char* cr = "\n";
+      const char* cr = "\n";
       while ( pos != std::string::npos )
        {
          s.replace(pos,2,cr,1);