Skip to content

Commit

Permalink
Fixes anon namespace that was causing problems with linking
Browse files Browse the repository at this point in the history
  • Loading branch information
RickBrice committed Apr 10, 2024
1 parent fda4c67 commit 6d5a9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifcgeom/mapping/IfcCurveSegment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6d5a9f8

Please sign in to comment.