diff --git a/src/core/include/mp_units/quantity_point.h b/src/core/include/mp_units/quantity_point.h index a94351ad..59c574c6 100644 --- a/src/core/include/mp_units/quantity_point.h +++ b/src/core/include/mp_units/quantity_point.h @@ -101,9 +101,10 @@ public: { } - template QP2> - requires std::convertible_to - constexpr explicit(false) quantity_point(const QP2& qp) : q_(qp.relative()) + template QP> + requires std::constructible_from + constexpr explicit(!std::convertible_to) quantity_point(const QP& qp) : + q_(qp.relative()) { }