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:
@@ -2998,7 +2998,14 @@ public:
|
||||
const Standard_Integer j) {
|
||||
return myP2[Index(i,j)];
|
||||
};
|
||||
protected:
|
||||
|
||||
private:
|
||||
|
||||
IntPatch_InfoPD (const IntPatch_InfoPD&);
|
||||
IntPatch_InfoPD& operator=(const IntPatch_InfoPD&);
|
||||
|
||||
private:
|
||||
|
||||
Standard_Integer myNBI;
|
||||
char *myP1DS2;
|
||||
char *myP2DS1;
|
||||
|
Reference in New Issue
Block a user