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);