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
(from parent 1:
c539a41
)
0019929: EDF 772 SMESH : script readability
author
eap
<eap@opencascade.com>
Tue, 24 Feb 2009 14:52:58 +0000
(14:52 +0000)
committer
eap
<eap@opencascade.com>
Tue, 24 Feb 2009 14:52:58 +0000
(14:52 +0000)
+
+ operator char*() const {
+ return (char*)c_str();
+ }
src/SMESH/SMESH_Comment.hxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Comment.hxx
b/src/SMESH/SMESH_Comment.hxx
index 14d42faf466169285ea79950402f1e3d88df12c6..d1d32b9e68e24efc769dbfd555039e03bf4e92c8 100644
(file)
--- 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();
+ }
};