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 <Draw_Drawable3D.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Draw_Drawable3D,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Draw_Drawable3D,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Draw_Drawable3D
|
||||
|
@@ -23,17 +23,17 @@
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_CString.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_OStream.hxx>
|
||||
#include <Draw_Interpretor.hxx>
|
||||
class Draw_Display;
|
||||
|
||||
|
||||
class Draw_Drawable3D;
|
||||
DEFINE_STANDARD_HANDLE(Draw_Drawable3D, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Draw_Drawable3D, Standard_Transient)
|
||||
|
||||
|
||||
class Draw_Drawable3D : public MMgt_TShared
|
||||
class Draw_Drawable3D : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Draw_Drawable3D,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Draw_Drawable3D,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user