From 60723cff2b6af1fadd464b44899b58fa85b68500 Mon Sep 17 00:00:00 2001 From: Richard Brice <37087370+RickBrice@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:47:40 -0700 Subject: [PATCH] Fixed problem with call to boost::mpl::for_each --- src/ifcgeom/mapping/IfcCurveSegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/mapping/IfcCurveSegment.cpp b/src/ifcgeom/mapping/IfcCurveSegment.cpp index 61fc913c15..9d13729d8d 100644 --- a/src/ifcgeom/mapping/IfcCurveSegment.cpp +++ b/src/ifcgeom/mapping/IfcCurveSegment.cpp @@ -121,7 +121,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCurveSegment* inst) { static int NUM_SEGMENTS = 64; curve_segment_evaluator cse(length_unit_, inst->ParentCurve(), inst->SegmentStart(), inst->SegmentLength()); - boost::mpl::for_each>(cse); + boost::mpl::for_each>(std::ref(cse)); std::vector polygon;