forked from mpusz/mp-units
refactor: update Clang 14 to not require range-v3 (#321)
* Revert "refactor: update hacks for LLVM 14"
This reverts commit d142844de7.
* refactor: update Clang 14 to not require range-v3
This commit is contained in:
+2
-7
@@ -84,7 +84,7 @@
|
||||
#include <range/v3/iterator/concepts.hpp>
|
||||
#include <range/v3/range/concepts.hpp>
|
||||
|
||||
#elif UNITS_COMP_CLANG == 13 || UNITS_COMP_CLANG == 14
|
||||
#elif UNITS_COMP_CLANG == 13
|
||||
|
||||
#include <range/v3/functional/comparisons.hpp>
|
||||
|
||||
@@ -228,15 +228,10 @@ constexpr bool in_range(T t) noexcept
|
||||
std::cmp_less_equal(t, std::numeric_limits<R>::max());
|
||||
}
|
||||
|
||||
#elif UNITS_COMP_CLANG == 13 || UNITS_COMP_CLANG == 14
|
||||
|
||||
#if UNITS_COMP_CLANG == 13
|
||||
#elif UNITS_COMP_CLANG == 13
|
||||
|
||||
using concepts::three_way_comparable;
|
||||
using concepts::three_way_comparable_with;
|
||||
|
||||
#endif
|
||||
|
||||
using ::ranges::compare_three_way;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user