mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24: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)
|
||||
#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
|
||||
|
||||
|
Reference in New Issue
Block a user