From b0ba12244323a2c9ad7189a02181c1fa4c7df0b7 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. (cherry picked from commit 97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b) --- 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 4770e0ec454..9a2bd87ccd3 100644 --- a/core/oa_hash_map.h +++ b/core/oa_hash_map.h @@ -288,7 +288,7 @@ public: bool valid; const TKey *key; - const TValue *value; + TValue *value; private: uint32_t pos;