mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
#include <XSAlgo_ToolContainer.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : XSAlgo_AlgoContainer
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
@@ -35,10 +35,10 @@ class Transfer_FinderProcess;
|
||||
|
||||
|
||||
class XSAlgo_AlgoContainer;
|
||||
DEFINE_STANDARD_HANDLE(XSAlgo_AlgoContainer, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(XSAlgo_AlgoContainer, Standard_Transient)
|
||||
|
||||
|
||||
class XSAlgo_AlgoContainer : public MMgt_TShared
|
||||
class XSAlgo_AlgoContainer : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <XSAlgo_ToolContainer.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_ToolContainer,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_ToolContainer,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : XSAlgo_ToolContainer
|
||||
|
@@ -19,14 +19,14 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
|
||||
class XSAlgo_ToolContainer;
|
||||
DEFINE_STANDARD_HANDLE(XSAlgo_ToolContainer, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(XSAlgo_ToolContainer, Standard_Transient)
|
||||
|
||||
//! Returns tools used by AlgoContainer
|
||||
class XSAlgo_ToolContainer : public MMgt_TShared
|
||||
class XSAlgo_ToolContainer : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(XSAlgo_ToolContainer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(XSAlgo_ToolContainer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user