fix: forgot to commit _quantity_spec_ member added to kind_of

This commit is contained in:
Mateusz Pusz
2023-06-08 22:02:34 +02:00
parent f9e1404e02
commit c22490290f

View File

@@ -452,9 +452,11 @@ template<detail::QuantitySpecWithNoSpecifiers auto Q>
requires(get_kind(Q) == Q)
#ifdef __cpp_explicit_this_parameter
struct kind_of_<Q> : Q {
static constexpr auto _quantity_spec_ = Q;
};
#else
struct kind_of_<Q> : quantity_spec<kind_of_<Q>, Q> {
static constexpr auto _quantity_spec_ = Q;
};
#endif