From 6d5a9f87160d5b002c37455b1fa2009151e94af6 Mon Sep 17 00:00:00 2001 From: Richard Brice <37087370+RickBrice@users.noreply.github.com> Date: Wed, 10 Apr 2024 11:48:26 -0700 Subject: [PATCH] Fixes anon namespace that was causing problems with linking --- 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 490856d3c4..7949cbd7b2 100644 --- a/src/ifcgeom/mapping/IfcCurveSegment.cpp +++ b/src/ifcgeom/mapping/IfcCurveSegment.cpp @@ -39,7 +39,6 @@ auto sign = [](double v) -> double { return v ? v/fabs(v) : 1.0; }; // @todo change the calculation at end of this to std::lerp when upgrading to C++ 20 template auto compute_adjustment = [](double u, const T& a, const T& b, double l) -> double { return l == 0.0 ? 0.0 : u * (b - a) / l; }; -} // namespace enum segment_type_t { @@ -1240,6 +1239,7 @@ class curve_segment_evaluator { return eval_; } }; +} // namespace taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCurveSegment* inst) { // Find the next segment after inst