Fixes anon namespace that was causing problems with linking

This commit is contained in:
Richard Brice
2024-04-10 11:48:26 -07:00
parent fda4c674d9
commit 6d5a9f8716
+1 -1
View File
@@ -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 <typename T>
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