mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeAlgo_AlgoContainer,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeAlgo_AlgoContainer,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAlgo_AlgoContainer
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColGeom_SequenceOfCurve.hxx>
|
||||
@@ -42,10 +42,10 @@ class Geom_Curve;
|
||||
|
||||
|
||||
class ShapeAlgo_AlgoContainer;
|
||||
DEFINE_STANDARD_HANDLE(ShapeAlgo_AlgoContainer, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(ShapeAlgo_AlgoContainer, Standard_Transient)
|
||||
|
||||
|
||||
class ShapeAlgo_AlgoContainer : public MMgt_TShared
|
||||
class ShapeAlgo_AlgoContainer : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeAlgo_AlgoContainer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeAlgo_AlgoContainer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <ShapeFix_Shape.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeAlgo_ToolContainer,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ShapeAlgo_ToolContainer,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAlgo_ToolContainer
|
||||
|
@@ -19,16 +19,16 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class ShapeFix_Shape;
|
||||
class ShapeFix_EdgeProjAux;
|
||||
|
||||
|
||||
class ShapeAlgo_ToolContainer;
|
||||
DEFINE_STANDARD_HANDLE(ShapeAlgo_ToolContainer, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(ShapeAlgo_ToolContainer, Standard_Transient)
|
||||
|
||||
//! Returns tools used by AlgoContainer
|
||||
class ShapeAlgo_ToolContainer : public MMgt_TShared
|
||||
class ShapeAlgo_ToolContainer : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeAlgo_ToolContainer,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(ShapeAlgo_ToolContainer,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user