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.
This commit is contained in:
Hampus Fröjdholm 2022-10-02 14:01:37 +02:00
parent 24d6072353
commit 18a84c6b3c

View File

@ -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}