Skip to content

Commit

Permalink
fix: quantity_point::point_for(PO) constraints fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Dec 3, 2023
1 parent 40c2ecb commit 13b450e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/include/mp-units/quantity_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class quantity_point {
quantity_point& operator=(const quantity_point&) = default;
quantity_point& operator=(quantity_point&&) = default;

template<PointOriginFor<quantity_spec> NewPO>
template<detail::SameAbsolutePointOriginAs<absolute_point_origin> NewPO>
[[nodiscard]] constexpr MP_UNITS_CONSTRAINED_AUTO_WORKAROUND(QuantityPointOf<NewPO{}>) auto point_for(
NewPO new_origin) const
{
Expand Down

0 comments on commit 13b450e

Please sign in to comment.