1
0
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:
kgv
2020-05-08 23:41:22 +03:00
committed by bugmaster
parent 4b59685af1
commit 158f2931a7
55 changed files with 670 additions and 1001 deletions

View File

@@ -39,23 +39,6 @@ HatchGen_PointOnHatching::HatchGen_PointOnHatching () :
// Purpose : Constructor.
//=======================================================================
HatchGen_PointOnHatching::HatchGen_PointOnHatching (const HatchGen_PointOnHatching& Point)
{
myIndex = Point.myIndex ;
myParam = Point.myParam ;
myPosit = Point.myPosit ;
myBefore = Point.myBefore ;
myAfter = Point.myAfter ;
mySegBeg = Point.mySegBeg ;
mySegEnd = Point.mySegEnd ;
myPoints = Point.myPoints ;
}
//=======================================================================
// Function : HatchGen_PointOnHatching
// Purpose : Constructor.
//=======================================================================
HatchGen_PointOnHatching::HatchGen_PointOnHatching (const IntRes2d_IntersectionPoint& Point)
{
myIndex = 0 ;