mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0025616: Avoid Classes using "new" to allocate Instances but not defining a copy Constructor
The empty copy constructor, assignemnts operator, default constructors added to the following classes: The following classes use “new” function without Handles: - Select3D_PointData - BSB_T3Bits - IntPatch_InfoPD - LDOM_StringElem - BinomAllocator - ProjLib_OnSurface - Standard_MMgrFactory Useless declaration of default constructor have been deleted.
This commit is contained in:
@@ -106,9 +106,10 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
Select3D_PointData (const Select3D_PointData&);
|
||||
Select3D_PointData& operator= (const Select3D_PointData&);
|
||||
|
||||
// Default constructor
|
||||
Select3D_PointData () {}
|
||||
private:
|
||||
|
||||
Select3D_Pnt* mypolyg3d;
|
||||
Select3D_Pnt2d* mypolyg2d;
|
||||
|
Reference in New Issue
Block a user