]> Creatis software - clitk.git/blobdiff - common/clitkTimer.cxx
Mathieu Malaterre :
[clitk.git] / common / clitkTimer.cxx
index d6987fa96ab3db12335ece3d54646958e7bf03b1..b165b4d98dfd55c8548033d879a4616f7d90dd30 100644 (file)
@@ -99,7 +99,7 @@ void clitk::Timer::Print(std::ostream & os) const
 //====================================================================
 void clitk::Timer::Print(std::string text, std::ostream & os) const
 {
-  os << text;
+  os << text.c_str();
   Print(os);
 }
 //====================================================================