diff --git a/src/core/include/units/bits/external/hacks.h b/src/core/include/units/bits/external/hacks.h index 20579827..6895f63c 100644 --- a/src/core/include/units/bits/external/hacks.h +++ b/src/core/include/units/bits/external/hacks.h @@ -77,7 +77,7 @@ #include #include -#elif UNITS_COMP_CLANG == 13 +#elif UNITS_COMP_CLANG == 13 || UNITS_COMP_CLANG == 14 #include @@ -218,10 +218,15 @@ constexpr bool in_range(T t) noexcept std::cmp_less_equal(t, std::numeric_limits::max()); } -#elif UNITS_COMP_CLANG == 13 +#elif UNITS_COMP_CLANG == 13 || UNITS_COMP_CLANG == 14 + +#if UNITS_COMP_CLANG == 13 using concepts::three_way_comparable; using concepts::three_way_comparable_with; + +#endif + using ::ranges::compare_three_way; #endif