diff --git a/src/LDOM/LDOM_OSStream.cxx b/src/LDOM/LDOM_OSStream.cxx index f19741d16e..4734721346 100644 --- a/src/LDOM/LDOM_OSStream.cxx +++ b/src/LDOM/LDOM_OSStream.cxx @@ -161,3 +161,11 @@ LDOM_OSStream::LDOM_OSStream (const Standard_Integer theMaxBuf) { init(&myBuffer); } + +//======================================================================= +//function : ~LDOM_OSStream() +//purpose : Destructor - for g++ vtable generation in *this* translation unit +//======================================================================= +LDOM_OSStream::~LDOM_OSStream() +{ +} diff --git a/src/LDOM/LDOM_OSStream.hxx b/src/LDOM/LDOM_OSStream.hxx index 63330db1bb..e3f88a5a2d 100644 --- a/src/LDOM/LDOM_OSStream.hxx +++ b/src/LDOM/LDOM_OSStream.hxx @@ -102,6 +102,8 @@ public: //! Constructor Standard_EXPORT LDOM_OSStream(const Standard_Integer theMaxBuf); + Standard_EXPORT virtual ~LDOM_OSStream(); + Standard_CString str () const {return myBuffer.str();} Standard_Integer Length () const { return myBuffer.Length(); }