diff options
| author | Hampus Fröjdholm <hampus.frojdholm@gmail.com> | 2022-10-02 14:01:37 +0200 |
|---|---|---|
| committer | Hampus Fröjdholm <hampus.frojdholm@gmail.com> | 2022-10-02 14:04:07 +0200 |
| commit | 18a84c6b3ca0856cb17a2d1255a4ee0ddba40b7a (patch) | |
| tree | 91506a1dc50c08aa86ab46de55109c65c5dc3bb0 /src | |
| parent | 24d6072353f7c7e7cac84b4eb085036a8c852f96 (diff) | |
Fix compilation failure with clang 12 and debug=yes
The pointer type alias was missing from FlattenedView::Iterator causing
std::iterator_traits to be an empty class.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ranges.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranges.hh b/src/ranges.hh index 2f9e9a21..816d6efb 100644 --- a/src/ranges.hh +++ b/src/ranges.hh @@ -435,6 +435,7 @@ struct FlattenedView using iterator_category = std::forward_iterator_tag; using difference_type = std::size_t; using reference = value_type&; + using pointer = value_type*; Iterator() = default; Iterator(OuterIt begin, OuterIt end) : m_outer_it{begin}, m_outer_end{end} |
