diff --git a/src/core/include/mp_units/quantity_point.h b/src/core/include/mp_units/quantity_point.h index 080199bc..96fdf890 100644 --- a/src/core/include/mp_units/quantity_point.h +++ b/src/core/include/mp_units/quantity_point.h @@ -97,7 +97,7 @@ public: template requires std::constructible_from - constexpr explicit quantity_point(T&& v) : q_(std::forward(v)) + constexpr explicit(!std::convertible_to) quantity_point(T&& v) : q_(std::forward(v)) { }