From 19826eaf3d45af86519fef2ce4ecc5a614e061fc Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 14 Feb 2024 07:07:21 +0100 Subject: [PATCH] fix: compilation fixed on C++23 --- src/core/include/mp-units/quantity_spec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/quantity_spec.h b/src/core/include/mp-units/quantity_spec.h index d0524a77..2b25b8a7 100644 --- a/src/core/include/mp-units/quantity_spec.h +++ b/src/core/include/mp-units/quantity_spec.h @@ -452,7 +452,7 @@ template #ifdef __cpp_explicit_this_parameter template requires(detail::QuantitySpecWithNoSpecifiers>) && - (detail::detail::get_kind_tree_root(Q) == Q) + (detail::get_kind_tree_root(Q) == Q) struct kind_of_ : std::remove_const_t { static constexpr auto _quantity_spec_ = Q; };