mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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:
parent
128dba6fb7
commit
d390b16690
@ -60,7 +60,6 @@ Bnd_Sphere& theSol)
|
|||||||
mySphereArray(theSphereArray),
|
mySphereArray(theSphereArray),
|
||||||
mySol(theSol)
|
mySol(theSol)
|
||||||
{
|
{
|
||||||
//myXYZ = gp_Pnt(0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DefineCheckPoint( const gp_Pnt& theXYZ )
|
void DefineCheckPoint( const gp_Pnt& theXYZ )
|
||||||
@ -72,11 +71,12 @@ Bnd_Sphere& theSol)
|
|||||||
virtual Standard_Boolean Reject( const Bnd_Sphere &theBnd ) const = 0;
|
virtual Standard_Boolean Reject( const Bnd_Sphere &theBnd ) const = 0;
|
||||||
|
|
||||||
virtual Standard_Boolean Accept(const Standard_Integer& theObj) = 0;
|
virtual Standard_Boolean Accept(const Standard_Integer& theObj) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
gp_Pnt myXYZ;
|
gp_Pnt myXYZ;
|
||||||
const Handle(Bnd_HArray1OfSphere)& mySphereArray;
|
const Handle(Bnd_HArray1OfSphere)& mySphereArray;
|
||||||
Bnd_Sphere& mySol;
|
Bnd_Sphere& mySol;
|
||||||
|
private:
|
||||||
|
void operator= (const Bnd_SphereUBTreeSelector&);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ struct entityRef {
|
|||||||
const char * name;
|
const char * name;
|
||||||
const int length;
|
const int length;
|
||||||
entityRef (const char * aName, const int aLen) : name(aName), length(aLen) {}
|
entityRef (const char * aName, const int aLen) : name(aName), length(aLen) {}
|
||||||
|
void operator= (const entityRef&);
|
||||||
};
|
};
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -108,8 +108,8 @@ class LDOM_MemManager : public MMgt_TShared
|
|||||||
char * str;
|
char * str;
|
||||||
struct TableItem * next;
|
struct TableItem * next;
|
||||||
} * myTable;
|
} * myTable;
|
||||||
// Standard_Integer myMask;
|
|
||||||
LDOM_MemManager& myManager;
|
LDOM_MemManager& myManager;
|
||||||
|
void operator= (const HashTable&);
|
||||||
};
|
};
|
||||||
|
|
||||||
// ---- PROHIBITED (PRIVATE) METHODS ----
|
// ---- PROHIBITED (PRIVATE) METHODS ----
|
||||||
|
@ -34,6 +34,7 @@ class SelectMgr_CompareResults: public TCollection_CompareOfInteger
|
|||||||
(const Standard_Integer&, const Standard_Integer&) const;
|
(const Standard_Integer&, const Standard_Integer&) const;
|
||||||
private:
|
private:
|
||||||
const SelectMgr_IndexedDataMapOfOwnerCriterion& myMapOfCriterion;
|
const SelectMgr_IndexedDataMapOfOwnerCriterion& myMapOfCriterion;
|
||||||
|
void operator= (const SelectMgr_CompareResults& );
|
||||||
};
|
};
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
#include <Standard_IStream.hxx>
|
#include <Standard_IStream.hxx>
|
||||||
#include <Standard_Boolean.hxx>
|
#include <Standard_Boolean.hxx>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure passed to the methods dealing with input stream.
|
* Structure passed to the methods dealing with input stream.
|
||||||
*/
|
*/
|
||||||
@ -38,7 +37,9 @@ struct VrmlData_InBuffer {
|
|||||||
: Input (theStream),
|
: Input (theStream),
|
||||||
LinePtr (&Line[0]),
|
LinePtr (&Line[0]),
|
||||||
IsProcessed (Standard_False),
|
IsProcessed (Standard_False),
|
||||||
LineCount (0) {}
|
LineCount (0) {};
|
||||||
|
private:
|
||||||
|
void operator= (const VrmlData_InBuffer&);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,7 +90,6 @@ class VrmlData_ShapeConvert
|
|||||||
const Standard_Real theDeflAngle = 20.*M_PI/180.);
|
const Standard_Real theDeflAngle = 20.*M_PI/180.);
|
||||||
//this value of theDeflAngle is used by default
|
//this value of theDeflAngle is used by default
|
||||||
//for tesselation while shading (Drawer->HLRAngle())
|
//for tesselation while shading (Drawer->HLRAngle())
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// ---------- PROTECTED METHODS ----------
|
// ---------- PROTECTED METHODS ----------
|
||||||
|
|
||||||
@ -112,6 +111,8 @@ class VrmlData_ShapeConvert
|
|||||||
VrmlData_Scene& myScene;
|
VrmlData_Scene& myScene;
|
||||||
Standard_Real myScale;
|
Standard_Real myScale;
|
||||||
NCollection_List <ShapeData> myShapes;
|
NCollection_List <ShapeData> myShapes;
|
||||||
|
// ---------- PRIVATE METHODS ----------
|
||||||
|
void operator= (const VrmlData_ShapeConvert&);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user