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:
@@ -46,7 +46,7 @@
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TNaming_TranslateTool,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(TNaming_TranslateTool,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : TNaming_TranslateTool
|
||||
|
@@ -20,20 +20,20 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
|
||||
class Standard_TypeMismatch;
|
||||
class TopoDS_Shape;
|
||||
|
||||
|
||||
class TNaming_TranslateTool;
|
||||
DEFINE_STANDARD_HANDLE(TNaming_TranslateTool, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(TNaming_TranslateTool, Standard_Transient)
|
||||
|
||||
//! tool to copy underlying TShape of a Shape.
|
||||
//! The TranslateTool class is provided to support the
|
||||
//! translation of topological data structures Transient
|
||||
//! to Transient.
|
||||
class TNaming_TranslateTool : public MMgt_TShared
|
||||
class TNaming_TranslateTool : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -68,7 +68,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(TNaming_TranslateTool,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(TNaming_TranslateTool,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user