diff --git a/src/ifcgeom/mapping/IfcCurveSegment.cpp b/src/ifcgeom/mapping/IfcCurveSegment.cpp index 8b42627faa..9586747f70 100644 --- a/src/ifcgeom/mapping/IfcCurveSegment.cpp +++ b/src/ifcgeom/mapping/IfcCurveSegment.cpp @@ -106,7 +106,7 @@ class segment_geometry_adjuster { // Get the parent of this segment. If it is a IfcGradientCurve or IfcSegmentedRefernceCurve // look for the optional EndPoint attribute auto curves = inst->UsingCurves(); - if (curves && curves->size() { + if (curves && curves->size()) { auto curve = *curves->begin(); const IfcSchema::IfcPlacement* placement = nullptr; if (curve->as()) { @@ -121,7 +121,6 @@ class segment_geometry_adjuster { } } } - } } // To determine the geometry adjustments the curve segment needs to be evaluated