]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
compilation warning deprecated MMgt_TShared
authorPaul RASCLE <paul.rascle@openfields.fr>
Mon, 10 Aug 2020 06:22:28 +0000 (08:22 +0200)
committerYOANN AUDOUIN <B61570@dsp0851742.postes.calibre.edf.fr>
Fri, 30 Oct 2020 16:06:22 +0000 (17:06 +0100)
src/HYDROData/HYDROData_Document.cxx
src/HYDROData/HYDROData_Document.h
src/HYDROData/HYDROData_Entity.cxx
src/HYDROData/HYDROData_Entity.h

index d522a34c88e25834db4d8135fa481d818bd86def..0348e353d19a4d1891f0c626ddb9ef9bab31746f 100644 (file)
@@ -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"
 
index 1eaf640881e95a23f29b4f10e34fb95ac4797188..94b7fa56a26743c1fd5620fcee853d7527458d11 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <HYDROData_Entity.h>
 #include <TDocStd_Document.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
 
 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();
index 1d6f67c5146b8d95197d00f3adcf6550cbfbd8a2..7fcb39a79869ef3b67f5f36f0be4db197e30290e 100644 (file)
@@ -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)
index dcc67a820701a34d63cfd6c3f14fa530f7056aa6..a52b329dda40ae448a8baab3b991e1c30a8ef348 100644 (file)
@@ -25,7 +25,7 @@
 #include <QMap>
 #include <QString>
 #include <Standard_Type.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
 
 #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;