From 3bd60785373ddb2d9c201c92933271a12a177ba1 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 5 Mar 2022 01:59:34 +0100 Subject: [PATCH] Tag `AssignedProtos` iterator as forward That's what it actually is, oops (Required for `minmax_element`) --- src/gfx/pal_packing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx/pal_packing.cpp b/src/gfx/pal_packing.cpp index 399f3e54..c266ecc1 100644 --- a/src/gfx/pal_packing.cpp +++ b/src/gfx/pal_packing.cpp @@ -83,7 +83,7 @@ private: using value_type = ProtoPalAttrs; using pointer = Constness *; using reference = Constness &; - using iterator_category = std::input_iterator_tag; + using iterator_category = std::forward_iterator_tag; private: Constness *_array = nullptr;