From 97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b Mon Sep 17 00:00:00 2001 From: Andrea Catania Date: Fri, 8 May 2020 14:21:46 +0200 Subject: [PATCH] Removed const from OAHashMap iterator value to allows to mutate the value while iterating over it. --- core/oa_hash_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/oa_hash_map.h b/core/oa_hash_map.h index 71e3ba90684..682fa8a3d4d 100644 --- a/core/oa_hash_map.h +++ b/core/oa_hash_map.h @@ -300,7 +300,7 @@ public: bool valid; const TKey *key; - const TValue *value; + TValue *value; private: uint32_t pos;