mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024095: Eliminate compiler warning C4512 in MSVC++ with warning level 4
Removed most of warnings C4512 for non-copyable objects
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
|
||||
#include <Standard_IStream.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
/**
|
||||
* Structure passed to the methods dealing with input stream.
|
||||
*/
|
||||
@@ -38,7 +37,9 @@ struct VrmlData_InBuffer {
|
||||
: Input (theStream),
|
||||
LinePtr (&Line[0]),
|
||||
IsProcessed (Standard_False),
|
||||
LineCount (0) {}
|
||||
LineCount (0) {};
|
||||
private:
|
||||
void operator= (const VrmlData_InBuffer&);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -90,7 +90,6 @@ class VrmlData_ShapeConvert
|
||||
const Standard_Real theDeflAngle = 20.*M_PI/180.);
|
||||
//this value of theDeflAngle is used by default
|
||||
//for tesselation while shading (Drawer->HLRAngle())
|
||||
|
||||
protected:
|
||||
// ---------- PROTECTED METHODS ----------
|
||||
|
||||
@@ -112,6 +111,8 @@ class VrmlData_ShapeConvert
|
||||
VrmlData_Scene& myScene;
|
||||
Standard_Real myScale;
|
||||
NCollection_List <ShapeData> myShapes;
|
||||
// ---------- PRIVATE METHODS ----------
|
||||
void operator= (const VrmlData_ShapeConvert&);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user