X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Comment.hxx;h=d1d32b9e68e24efc769dbfd555039e03bf4e92c8;hp=14d42faf466169285ea79950402f1e3d88df12c6;hb=df4afe2d5042fe47a4e635d579f698aaa1749dcf;hpb=c539a4181c5d2f74692adb84aaf9cfbd7949eb4e diff --git a/src/SMESH/SMESH_Comment.hxx b/src/SMESH/SMESH_Comment.hxx index 14d42faf4..d1d32b9e6 100644 --- a/src/SMESH/SMESH_Comment.hxx +++ b/src/SMESH/SMESH_Comment.hxx @@ -62,6 +62,10 @@ public : this->string::operator=( _s.str() ); return *this ; } + + operator char*() const { + return (char*)c_str(); + } };