mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(DBRep_Edge,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(DBRep_Edge,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : DBRep_Edge
|
||||
|
@@ -22,16 +22,16 @@
|
||||
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <Draw_Color.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class TopoDS_Edge;
|
||||
class Draw_Color;
|
||||
|
||||
|
||||
class DBRep_Edge;
|
||||
DEFINE_STANDARD_HANDLE(DBRep_Edge, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(DBRep_Edge, Standard_Transient)
|
||||
|
||||
//! Display of an edge. Edge + color.
|
||||
class DBRep_Edge : public MMgt_TShared
|
||||
class DBRep_Edge : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(DBRep_Edge,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(DBRep_Edge,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(DBRep_Face,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(DBRep_Face,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : DBRep_Face
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Draw_Color.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <GeomAbs_IsoType.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
@@ -33,10 +33,10 @@ class Draw_Color;
|
||||
|
||||
|
||||
class DBRep_Face;
|
||||
DEFINE_STANDARD_HANDLE(DBRep_Face, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(DBRep_Face, Standard_Transient)
|
||||
|
||||
//! Display of a face. Face + Array of iso + color.
|
||||
class DBRep_Face : public MMgt_TShared
|
||||
class DBRep_Face : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(DBRep_Face,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(DBRep_Face,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user