From: Paul RASCLE Date: Mon, 10 Aug 2020 06:22:28 +0000 (+0200) Subject: compilation warning deprecated MMgt_TShared X-Git-Tag: SH_V2_2_0~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=20e8064ab2c3eaba5e680461568e2bbd2939df45;p=modules%2Fhydro.git compilation warning deprecated MMgt_TShared --- diff --git a/src/HYDROData/HYDROData_Document.cxx b/src/HYDROData/HYDROData_Document.cxx index d522a34c..0348e353 100644 --- a/src/HYDROData/HYDROData_Document.cxx +++ b/src/HYDROData/HYDROData_Document.cxx @@ -40,7 +40,7 @@ //#define _DEVDEBUG_ #include "HYDRO_trace.hxx" -IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Document,MMgt_TShared) +IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Document,Standard_Transient) #define PYTHON_DOC_NAME "hydro_doc" diff --git a/src/HYDROData/HYDROData_Document.h b/src/HYDROData/HYDROData_Document.h index 1eaf6408..94b7fa56 100644 --- a/src/HYDROData/HYDROData_Document.h +++ b/src/HYDROData/HYDROData_Document.h @@ -21,7 +21,7 @@ #include #include -#include +#include class HYDROData_InterpolatorsFactory; class HYDROData_IProfilesInterpolator; @@ -56,10 +56,10 @@ enum Data_DocError { * to provide access to all stored data. */ -class HYDROData_Document : public MMgt_TShared +class HYDROData_Document : public Standard_Transient { public: - DEFINE_STANDARD_RTTIEXT(HYDROData_Document, MMgt_TShared); + DEFINE_STANDARD_RTTIEXT(HYDROData_Document, Standard_Transient); //! Returns the existing document or creates new if it is not exist HYDRODATA_EXPORT static Handle(HYDROData_Document) Document(); diff --git a/src/HYDROData/HYDROData_Entity.cxx b/src/HYDROData/HYDROData_Entity.cxx index 1d6f67c5..7fcb39a7 100644 --- a/src/HYDROData/HYDROData_Entity.cxx +++ b/src/HYDROData/HYDROData_Entity.cxx @@ -57,7 +57,7 @@ HYDROData_SequenceOfObjects::HYDROData_SequenceOfObjects( const NCollection_Sequ { } -IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Entity,MMgt_TShared) +IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Entity,Standard_Transient) // is equal function for unique object mapping bool IsEqual(const Handle(HYDROData_Entity)& theObj1, const Handle(HYDROData_Entity)& theObj2) diff --git a/src/HYDROData/HYDROData_Entity.h b/src/HYDROData/HYDROData_Entity.h index dcc67a82..a52b329d 100644 --- a/src/HYDROData/HYDROData_Entity.h +++ b/src/HYDROData/HYDROData_Entity.h @@ -25,7 +25,7 @@ #include #include #include -#include +#include #ifdef NONLS #undef NONLS @@ -102,7 +102,7 @@ HYDRODATA_EXPORT bool IsEqual(const Handle(HYDROData_Entity)& theObj1, const Han * Managed by Document. Provides access to the common properties: * kind of an object, name. */ -class HYDROData_Entity : public MMgt_TShared +class HYDROData_Entity : public Standard_Transient { protected: /** @@ -130,7 +130,7 @@ public: }; public: - DEFINE_STANDARD_RTTIEXT(HYDROData_Entity, MMgt_TShared); + DEFINE_STANDARD_RTTIEXT(HYDROData_Entity, Standard_Transient); HYDRODATA_EXPORT static QString Type( ObjectKind ); HYDRODATA_EXPORT virtual QString GetType() const;