mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0024171: Eliminate CLang compiler warning -Wreorder
Got rid of -Wreorder warning (wrong fields' initialization order); some warnings -Wdangling-else are also fixed
This commit is contained in:
@@ -98,8 +98,8 @@ QANewModTopOpe_Glue::QANewModTopOpe_Glue(const TopoDS_Shape& theS1,
|
||||
const Standard_Boolean theAllowCutting,
|
||||
const Standard_Boolean thePerformNow)
|
||||
: BRepAlgoAPI_BooleanOperation (theS1,theS2, BOPAlgo_FUSE),
|
||||
myAllowCutting (theAllowCutting),
|
||||
myCompleted (Standard_False)
|
||||
myCompleted (Standard_False),
|
||||
myAllowCutting (theAllowCutting)
|
||||
{
|
||||
NotDone();
|
||||
myGenerated.Clear();
|
||||
|
@@ -57,8 +57,8 @@ QANewModTopOpe_Limitation::QANewModTopOpe_Limitation(const TopoDS_Shape& theObje
|
||||
myObjectToCut(theObjectToCut),
|
||||
myFwdIsDone(Standard_False),
|
||||
myRevIsDone(Standard_False),
|
||||
myMode(theMode),
|
||||
myCut(NULL),
|
||||
myMode(theMode),
|
||||
myCommon(NULL)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user