mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 13:44:27 +02:00
fix: forgot to commit _quantity_spec_
member added to kind_of
This commit is contained in:
@@ -452,9 +452,11 @@ template<detail::QuantitySpecWithNoSpecifiers auto Q>
|
|||||||
requires(get_kind(Q) == Q)
|
requires(get_kind(Q) == Q)
|
||||||
#ifdef __cpp_explicit_this_parameter
|
#ifdef __cpp_explicit_this_parameter
|
||||||
struct kind_of_<Q> : Q {
|
struct kind_of_<Q> : Q {
|
||||||
|
static constexpr auto _quantity_spec_ = Q;
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
struct kind_of_<Q> : quantity_spec<kind_of_<Q>, Q> {
|
struct kind_of_<Q> : quantity_spec<kind_of_<Q>, Q> {
|
||||||
|
static constexpr auto _quantity_spec_ = Q;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user