mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 18:10:36 +05:00
+ SMESH_Comment & operator=(const SMESH_Comment& c) {
+ _s << c.c_str() ; + this->string::operator=( _s.str() ); + return *this; + } +
This commit is contained in:
parent
a34eac9276
commit
039a4f4346
@ -50,6 +50,12 @@ public :
|
|||||||
this->string::operator=( _s.str() );
|
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>
|
template <class T>
|
||||||
SMESH_Comment( const T &anything ) {
|
SMESH_Comment( const T &anything ) {
|
||||||
_s << anything ;
|
_s << anything ;
|
||||||
|
Loading…
Reference in New Issue
Block a user