Tag AssignedProtos iterator as forward

That's what it actually is, oops
(Required for `minmax_element`)
This commit is contained in:
ISSOtm
2022-03-05 01:59:34 +01:00
committed by Eldred Habert
parent 5409d0d15a
commit 3bd6078537

View File

@@ -83,7 +83,7 @@ private:
using value_type = ProtoPalAttrs; using value_type = ProtoPalAttrs;
using pointer = Constness<value_type> *; using pointer = Constness<value_type> *;
using reference = Constness<value_type> &; using reference = Constness<value_type> &;
using iterator_category = std::input_iterator_tag; using iterator_category = std::forward_iterator_tag;
private: private:
Constness<decltype(_assigned)> *_array = nullptr; Constness<decltype(_assigned)> *_array = nullptr;