From 5f7e4793c2dc1b91676800734f1e483e29d8ed31 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 12 Jan 2022 15:14:18 +0100 Subject: [PATCH] #1960 correct distinguish outer bound by pre increment --- src/ifcgeom/IfcGeomFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index de929b9de6..5158f8c360 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -4699,7 +4699,7 @@ namespace { } // First check for containment in outer wire - for (auto it = wires.begin()++; it != wires.end(); ++it) { + for (auto it = ++wires.begin(); it != wires.end(); ++it) { // Considering a single vertex is sufficient because we have already // guaranteed that the edges of different operands do not cross. TopoDS_Iterator it_ed(*it);