1
0
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:
kgv
2017-07-06 10:38:18 +03:00
committed by bugmaster
parent e958a649c6
commit 25e59720d6
980 changed files with 2451 additions and 2539 deletions

View File

@@ -20,7 +20,7 @@
#include <TDF_Label.hxx>
#include <XSControl_WorkSession.hxx>
IMPLEMENT_STANDARD_RTTIEXT(STEPCAFControl_ExternFile,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(STEPCAFControl_ExternFile,Standard_Transient)
//=======================================================================
//function : STEPCAFControl_ExternFile

View File

@@ -22,18 +22,18 @@
#include <IFSelect_ReturnStatus.hxx>
#include <Standard_Boolean.hxx>
#include <TDF_Label.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class XSControl_WorkSession;
class TCollection_HAsciiString;
class TDF_Label;
class STEPCAFControl_ExternFile;
DEFINE_STANDARD_HANDLE(STEPCAFControl_ExternFile, MMgt_TShared)
DEFINE_STANDARD_HANDLE(STEPCAFControl_ExternFile, Standard_Transient)
//! Auxiliary class serving as container for data resulting
//! from translation of external file
class STEPCAFControl_ExternFile : public MMgt_TShared
class STEPCAFControl_ExternFile : public Standard_Transient
{
public:
@@ -69,7 +69,7 @@ public:
DEFINE_STANDARD_RTTIEXT(STEPCAFControl_ExternFile,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(STEPCAFControl_ExternFile,Standard_Transient)
protected:

View File

@@ -935,7 +935,7 @@ Standard_Boolean STEPCAFControl_Reader::ReadColors (const Handle(XSControl_WorkS
continue;
// find shape
NCollection_Vector<Handle(MMgt_TShared)> anItems;
NCollection_Vector<Handle(Standard_Transient)> anItems;
if (!style->Item().IsNull()) {
anItems.Append(style->Item());
}