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

@@ -48,7 +48,7 @@
#include <V3d_Viewer.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(AIS_LocalContext,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(AIS_LocalContext,Standard_Transient)
//=======================================================================
//function : AIS_LocalContext

View File

@@ -30,7 +30,7 @@
#include <Standard_Integer.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <AIS_SequenceOfInteractive.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <AIS_ClearMode.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <SelectMgr_ListOfFilter.hxx>
@@ -57,7 +57,7 @@ class SelectMgr_SelectableObject;
class AIS_LocalContext;
DEFINE_STANDARD_HANDLE(AIS_LocalContext, MMgt_TShared)
DEFINE_STANDARD_HANDLE(AIS_LocalContext, Standard_Transient)
//! Defines a specific context for selection.
//! It becomes possible to:
@@ -72,7 +72,7 @@ DEFINE_STANDARD_HANDLE(AIS_LocalContext, MMgt_TShared)
//! - automatically highlight shapes and
//! InteractiveObjects (highlight of detected shape +
//! highlight of detected selectable...
class AIS_LocalContext : public MMgt_TShared
class AIS_LocalContext : public Standard_Transient
{
public:
@@ -368,7 +368,7 @@ public:
//! stored in local status
Standard_EXPORT void RestoreActivatedModes() const;
DEFINE_STANDARD_RTTIEXT(AIS_LocalContext,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(AIS_LocalContext,Standard_Transient)
private: