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:
Johel Ernesto Guerrero Peña
2021-12-13 10:01:16 +01:00
committed by GitHub
parent eb94f1cc0e
commit 4efed3c6d4
6 changed files with 8 additions and 12 deletions
+2 -7
View File
@@ -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