1
0
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:
omy
2013-08-06 18:25:08 +04:00
committed by bugmaster
parent 128dba6fb7
commit d390b16690
6 changed files with 13 additions and 9 deletions

View File

@@ -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

View File

@@ -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