fix: clang compilation issues fixed

This commit is contained in:
Mateusz Pusz
2021-09-20 17:04:35 +02:00
parent 55456e5d42
commit d325a0b5b5
3 changed files with 17 additions and 12 deletions
+8 -3
View File
@@ -71,11 +71,12 @@
#if UNITS_COMP_CLANG == 12
#include <concepts/concepts.hpp>
#include <range/v3/functional/comparisons.hpp>
#include <range/v3/iterator.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/algorithm/lower_bound.hpp>
#include <range/v3/algorithm/transform.hpp>
#include <range/v3/functional/comparisons.hpp>
#include <range/v3/iterator.hpp>
#include <range/v3/iterator/concepts.hpp>
#include <range/v3/range/concepts.hpp>
#elif UNITS_COMP_CLANG == 13 || UNITS_COMP_CLANG == 14
@@ -127,6 +128,10 @@ using concepts::totally_ordered;
using ranges::compare_three_way;
using ranges::forward_iterator;
using ranges::sentinel_for;
using ranges::iter_value_t;
namespace ranges {
using ::ranges::begin;