1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0025619: CAST analysis: Avoid classes with a non-empty destructor and not implementing both an assignment operator and a copy constructor

- Fix compilation errors.
- Branch has been rebased on new master.

0025619: CAST analysis: Avoid classes with a non-empty destructor and not implementing both an assignment operator and a copy constructor

The problem has been removed from following classes:
- tsee_entity
- Select3D_PointData
- Standard_MMgrFactory
- ProjLib_OnSurface
- BinomAllocator
- OSD_PerfMeter
- StorageInfo
- OpenGl_UnpackAlignmentSentry
- IntPatch_InfoPD
- TableauRejection
- Draw_View
- BOPTest_Session
- BOPCol_MemBlock
- BSB_T3Bits
- NCollection_Handle::Ptr
- Buffer (from Standard_Boolean Message_MsgFile::LoadFile (const Standard_CString))
This commit is contained in:
azn
2014-12-19 12:06:11 +03:00
committed by bugmaster
parent 6b5b88d707
commit 96f3baccc5
11 changed files with 787 additions and 499 deletions

View File

@@ -65,6 +65,14 @@ class NCollection_Handle : public Handle(Standard_Transient)
const Handle(Standard_Type)& DynamicType() const
{ return STANDARD_TYPE(NCollection_Handle); }
protected:
//! Copy constructor
Ptr(const Ptr&);
//! Assignment operator
Ptr& operator=(const Ptr&);
public:
T* myPtr; //!< Pointer to the object
};