mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Tag AssignedProtos iterator as forward
That's what it actually is, oops (Required for `minmax_element`)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user