mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -77,34 +77,6 @@ IGESToBRep_CurveAndSurface::IGESToBRep_CurveAndSurface()
|
||||
UpdateMinMaxTol();
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : IGESToBRep_CurveAndSurface
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
IGESToBRep_CurveAndSurface::IGESToBRep_CurveAndSurface
|
||||
(const IGESToBRep_CurveAndSurface& other)
|
||||
: myEps (other.myEps),
|
||||
myEpsCoeff (other.myEpsCoeff),
|
||||
myEpsGeom (other.myEpsGeom),
|
||||
myMinTol (other.myMinTol),
|
||||
myMaxTol (other.myMaxTol),
|
||||
myModeIsTopo (other.myModeIsTopo),
|
||||
myModeApprox (other.myModeApprox),
|
||||
myContIsOpti (other.myContIsOpti),
|
||||
myUnitFactor (other.myUnitFactor),
|
||||
mySurfaceCurve(other.mySurfaceCurve),
|
||||
myContinuity (other.myContinuity),
|
||||
mySurface (other.mySurface),
|
||||
myUVResolution(other.myUVResolution),
|
||||
myIsResolCom (other.myIsResolCom),
|
||||
myModel (other.myModel),
|
||||
myTP (other.myTP)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : IGESToBRep_CurveAndSurface
|
||||
//purpose :
|
||||
|
@@ -45,10 +45,6 @@ public:
|
||||
//! optimization of the continuity to False.
|
||||
Standard_EXPORT IGESToBRep_CurveAndSurface();
|
||||
|
||||
//! Creates a tool CurveAndSurface ready to run and sets its
|
||||
//! fields as CS's.
|
||||
Standard_EXPORT IGESToBRep_CurveAndSurface(const IGESToBRep_CurveAndSurface& CS);
|
||||
|
||||
//! Creates a tool CurveAndSurface ready to run.
|
||||
Standard_EXPORT IGESToBRep_CurveAndSurface(const Standard_Real eps, const Standard_Real epsGeom, const Standard_Real epsCoeff, const Standard_Boolean mode, const Standard_Boolean modeapprox, const Standard_Boolean optimized);
|
||||
|
||||
|
Reference in New Issue
Block a user