mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 12:15:39 +00:00
Tag AssignedProtos iterator as forward
That's what it actually is, oops (Required for `minmax_element`)
This commit is contained in:
1 parent
5409d0d15a
commit
3bd6078537
1 file changed
+1
-1
@@ -83,7 +83,7 @@ private:
|
||||
using value_type = ProtoPalAttrs;
|
||||
using pointer = Constness<value_type> *;
|
||||
using reference = Constness<value_type> &;
|
||||
using iterator_category = std::input_iterator_tag;
|
||||
using iterator_category = std::forward_iterator_tag;
|
||||
|
||||
private:
|
||||
Constness<decltype(_assigned)> *_array = nullptr;
|
||||
|
||||
Reference in new issue
Block a user