diff --git a/src/core/include/mp_units/bits/dimension_concepts.h b/src/core/include/mp_units/bits/dimension_concepts.h index f03bbd8c..0a1469fd 100644 --- a/src/core/include/mp_units/bits/dimension_concepts.h +++ b/src/core/include/mp_units/bits/dimension_concepts.h @@ -81,13 +81,6 @@ struct derived_dimension; namespace detail { -template -void to_base_specialization_of_derived_dimension(const volatile derived_dimension*); - -template -inline constexpr bool is_derived_from_specialization_of_derived_dimension = - requires(T* t) { to_base_specialization_of_derived_dimension(t); }; - /** * @brief A concept matching all derived dimensions in the library. * @@ -95,7 +88,7 @@ inline constexpr bool is_derived_from_specialization_of_derived_dimension = * or derived from it (inheritance needed to properly handle `dimension_one`). */ template -concept DerivedDimension = detail::is_derived_from_specialization_of_derived_dimension; +concept DerivedDimension = is_derived_from_specialization_of; } // namespace detail