mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0031004: Coding - eliminate warnings issued by gcc 9.1.0
Fixed -Wrestrict warning within OSD::SetSignal(). Fixed -Wdeprecated-copy warning by adding missing counterpart in pair copy constructor / assignment operator or by removing trivial constructor. AdvApp2Var_Node, AdvApp2Var_Patch are now declared as Handle. AdvApp2Var_Iso is now passed by Handle. Disabled operator= for TDF_Transaction and TDF_IDFilter. Standard.cxx - fixed GCC version mischeck causing building failure with experimental GCC versions. TopOpeBRepDS_EXPORT.cxx - fixed -Wmaybe-uninitialized warnings.
This commit is contained in:
@@ -48,9 +48,6 @@ public:
|
||||
//! Creates quaternion directly from component values
|
||||
gp_Quaternion(const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w);
|
||||
|
||||
//! Creates copy of another quaternion
|
||||
gp_Quaternion(const gp_Quaternion& theToCopy);
|
||||
|
||||
//! Creates quaternion representing shortest-arc rotation
|
||||
//! operator producing vector theVecTo from vector theVecFrom.
|
||||
gp_Quaternion(const gp_Vec& theVecFrom, const gp_Vec& theVecTo);
|
||||
|
@@ -37,16 +37,6 @@ inline gp_Quaternion::gp_Quaternion (const Standard_Real theX, const Standard_Re
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline gp_Quaternion::gp_Quaternion (const gp_Quaternion& theToCopy)
|
||||
: x(theToCopy.x), y(theToCopy.y), z(theToCopy.z), w(theToCopy.w)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : gp_Quaternion
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline gp_Quaternion::gp_Quaternion (const gp_Vec& theVecFrom, const gp_Vec& theVecTo)
|
||||
{
|
||||
SetRotation (theVecFrom, theVecTo);
|
||||
|
Reference in New Issue
Block a user