mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -264,6 +264,10 @@ public:
|
||||
return Standard_Real (myBinom[N][P]);
|
||||
}
|
||||
|
||||
private:
|
||||
BinomAllocator (const BinomAllocator&);
|
||||
BinomAllocator& operator= (const BinomAllocator&);
|
||||
|
||||
private:
|
||||
Standard_Integer** myBinom;
|
||||
Standard_Integer myMaxBinom;
|
||||
|
Reference in New Issue
Block a user