]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_Comment.hxx
Salome HOME
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
[modules/smesh.git] / src / SMESH / SMESH_Comment.hxx
index d1d32b9e68e24efc769dbfd555039e03bf4e92c8..0090a4927675a83a3a426eeb78f32df8c1c276d0 100644 (file)
@@ -50,6 +50,12 @@ public :
     this->string::operator=( _s.str() );
   }
 
+  SMESH_Comment & operator=(const SMESH_Comment& c) {
+    _s << c.c_str() ;
+    this->string::operator=( _s.str() );
+    return *this;
+  }
+
   template <class T>
   SMESH_Comment( const T &anything ) {
     _s << anything ;