diff --git a/src/core/include/mp-units/framework/quantity_spec.h b/src/core/include/mp-units/framework/quantity_spec.h index 6ba39075..bc6f9b12 100644 --- a/src/core/include/mp-units/framework/quantity_spec.h +++ b/src/core/include/mp-units/framework/quantity_spec.h @@ -124,9 +124,9 @@ struct quantity_spec_interface { } template - [[nodiscard]] constexpr Quantity auto operator()(this Self self, Q&& q) requires Quantity> && - detail::QuantitySpecExplicitlyConvertibleTo::quantity_spec, self> + detail::QuantitySpecExplicitlyConvertibleTo::quantity_spec, Self{}> + [[nodiscard]] constexpr Quantity auto operator()(this Self self, Q&& q) { return quantity{std::forward(q).numerical_value_is_an_implementation_detail_, detail::make_delta(detail::make_reference(self, std::remove_cvref_t::unit))};