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:
@@ -19,7 +19,7 @@
|
||||
#include <HLRTest_ShapeData.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_ShapeData,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(HLRTest_ShapeData,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : HLRTest_ShapeData
|
||||
|
@@ -21,15 +21,15 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Draw_Color.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
class Draw_Color;
|
||||
|
||||
|
||||
class HLRTest_ShapeData;
|
||||
DEFINE_STANDARD_HANDLE(HLRTest_ShapeData, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(HLRTest_ShapeData, Standard_Transient)
|
||||
|
||||
//! Contains the colors of a shape.
|
||||
class HLRTest_ShapeData : public MMgt_TShared
|
||||
class HLRTest_ShapeData : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_ShapeData,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(HLRTest_ShapeData,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user