X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkTimer.cxx;h=b165b4d98dfd55c8548033d879a4616f7d90dd30;hb=b1afe238d2f4c78245e1824afd251e08b5216311;hp=d6987fa96ab3db12335ece3d54646958e7bf03b1;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/common/clitkTimer.cxx b/common/clitkTimer.cxx index d6987fa..b165b4d 100644 --- a/common/clitkTimer.cxx +++ b/common/clitkTimer.cxx @@ -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); } //====================================================================