Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a34eac9
)
+ SMESH_Comment & operator=(const SMESH_Comment& c) {
author
eap
<eap@opencascade.com>
Wed, 24 Feb 2010 12:44:11 +0000
(12:44 +0000)
committer
eap
<eap@opencascade.com>
Wed, 24 Feb 2010 12:44:11 +0000
(12:44 +0000)
+ _s << c.c_str() ;
+ this->string::operator=( _s.str() );
+ return *this;
+ }
+
src/SMESH/SMESH_Comment.hxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Comment.hxx
b/src/SMESH/SMESH_Comment.hxx
index d1d32b9e68e24efc769dbfd555039e03bf4e92c8..0090a4927675a83a3a426eeb78f32df8c1c276d0 100644
(file)
--- a/
src/SMESH/SMESH_Comment.hxx
+++ b/
src/SMESH/SMESH_Comment.hxx
@@
-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 ;