X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Comment.hxx;h=d1d32b9e68e24efc769dbfd555039e03bf4e92c8;hb=a4d61a7b6f94b6f1c8cf00fb6b966232d834f7fc;hp=14d42faf466169285ea79950402f1e3d88df12c6;hpb=0635c9fc80f67d1e5dc0e94ec85f487286a92070;p=modules%2Fsmesh.git 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(); + } };