1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024274: Eliminate GCC compiler warning (wrong initialize order)

Eliminated GCC compiler warning about wrong initialize order
This commit is contained in:
ski
2013-10-21 12:04:56 +04:00
committed by bugmaster
parent 84f4830127
commit 2f6cb3ac69
13 changed files with 37 additions and 33 deletions

View File

@@ -224,8 +224,8 @@ void CorrectWires(const TopoDS_Face& aFx)
TopoDS_Vertex aV11, aV12, aV21, aV22;
TopExp::Vertices(aE, aV11, aV12);
TopExp::Vertices(aE1, aV21, aV22);
if (aV11.IsSame(aV21) && aV12.IsSame(aV22) ||
aV12.IsSame(aV21) && aV11.IsSame(aV22)) {
if ((aV11.IsSame(aV21) && aV12.IsSame(aV22)) ||
(aV12.IsSame(aV21) && aV11.IsSame(aV22))) {
continue;
}
}

View File

@@ -44,8 +44,8 @@ class BOPTools_ConnexityBlock {
};
//
BOPTools_ConnexityBlock(const Handle(NCollection_BaseAllocator)& theAllocator):
myRegular(Standard_True),
myAllocator(theAllocator),
myAllocator(theAllocator),
myRegular(Standard_True),
myShapes(myAllocator),
myLoops(myAllocator) {
};