Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
23237: EDF 12367 - SIGSEGV with Remove group
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_Comment.hxx
diff --git
a/src/SMESHUtils/SMESH_Comment.hxx
b/src/SMESHUtils/SMESH_Comment.hxx
index 5e6420fda11f1dfb98d2f34f4d9612c64475893b..bb4c9b48748f6f0d97551da39d8d7a284db4054f 100644
(file)
--- a/
src/SMESHUtils/SMESH_Comment.hxx
+++ b/
src/SMESHUtils/SMESH_Comment.hxx
@@
-30,40
+30,38
@@
# include <string>
# include <sstream>
# include <string>
# include <sstream>
-using namespace std;
-
/*!
* \brief Class to generate string from any type
*/
/*!
* \brief Class to generate string from any type
*/
-class SMESH_Comment : public string
+class SMESH_Comment : public st
d::st
ring
{
{
- ostringstream _s ;
+
std::
ostringstream _s ;
public :
public :
- SMESH_Comment():string("") {}
+ SMESH_Comment():st
d::st
ring("") {}
- SMESH_Comment(const SMESH_Comment& c):string() {
+ SMESH_Comment(const SMESH_Comment& c):st
d::st
ring() {
_s << c.c_str() ;
_s << c.c_str() ;
- this->string::operator=( _s.str() );
+ this->st
d::st
ring::operator=( _s.str() );
}
SMESH_Comment & operator=(const SMESH_Comment& c) {
_s << c.c_str() ;
}
SMESH_Comment & operator=(const SMESH_Comment& c) {
_s << c.c_str() ;
- this->string::operator=( _s.str() );
+ this->st
d::st
ring::operator=( _s.str() );
return *this;
}
template <class T>
SMESH_Comment( const T &anything ) {
_s << anything ;
return *this;
}
template <class T>
SMESH_Comment( const T &anything ) {
_s << anything ;
- this->string::operator=( _s.str() );
+ this->st
d::st
ring::operator=( _s.str() );
}
template <class T>
SMESH_Comment & operator<<( const T &anything ) {
_s << anything ;
}
template <class T>
SMESH_Comment & operator<<( const T &anything ) {
_s << anything ;
- this->string::operator=( _s.str() );
+ this->st
d::st
ring::operator=( _s.str() );
return *this ;
}
return *this ;
}