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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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) {
|
||||
};
|
||||
|
Reference in New Issue
Block a user