diff --git a/src/core/include/mp-units/quantity.h b/src/core/include/mp-units/quantity.h index e342964e..0bc104ae 100644 --- a/src/core/include/mp-units/quantity.h +++ b/src/core/include/mp-units/quantity.h @@ -142,7 +142,7 @@ public: template requires(dimension == dimension_one) && - (unit == ::mp_units::one) && detail::RepSafeConstructibleFrom> + (unit == ::mp_units::one) && detail::RepSafeConstructibleFrom constexpr explicit(!std::convertible_to) quantity(Value&& v) : number_(std::forward(v)) { } @@ -322,7 +322,7 @@ private: friend constexpr quantity> make_quantity(Rep2&& v); template - requires detail::RepSafeConstructibleFrom> + requires detail::RepSafeConstructibleFrom constexpr explicit quantity(Value&& v) : number_(std::forward(v)) { }