fix: compilation fixed on C++23

This commit is contained in:
Mateusz Pusz
2024-02-14 07:07:21 +01:00
parent 2e609d9d6d
commit 19826eaf3d

View File

@@ -452,7 +452,7 @@ template<QuantitySpec Q>
#ifdef __cpp_explicit_this_parameter
template<auto Q>
requires(detail::QuantitySpecWithNoSpecifiers<std::remove_const_t<decltype(Q)>>) &&
(detail::detail::get_kind_tree_root(Q) == Q)
(detail::get_kind_tree_root(Q) == Q)
struct kind_of_<Q> : std::remove_const_t<decltype(Q)> {
static constexpr auto _quantity_spec_ = Q;
};