From c22490290f6e0ccc0c65428872fd750b6da68536 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 8 Jun 2023 22:02:34 +0200 Subject: [PATCH] fix: forgot to commit `_quantity_spec_` member added to `kind_of` --- src/core/include/mp-units/quantity_spec.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/include/mp-units/quantity_spec.h b/src/core/include/mp-units/quantity_spec.h index e6e3013e..fb32cc99 100644 --- a/src/core/include/mp-units/quantity_spec.h +++ b/src/core/include/mp-units/quantity_spec.h @@ -452,9 +452,11 @@ template requires(get_kind(Q) == Q) #ifdef __cpp_explicit_this_parameter struct kind_of_ : Q { + static constexpr auto _quantity_spec_ = Q; }; #else struct kind_of_ : quantity_spec, Q> { + static constexpr auto _quantity_spec_ = Q; }; #endif