summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2020-05-08 14:21:46 +0200
committerGitHub <noreply@github.com>2020-05-08 14:21:46 +0200
commit97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b (patch)
treeffd55cf0889ef2c015b77974722cd2b80b574434
parent924cecf0b0a90d8cc3c086361d8794f22cc59ef0 (diff)
downloadredot-engine-97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b.tar.gz
Removed const from OAHashMap iterator value
to allows to mutate the value while iterating over it.
-rw-r--r--core/oa_hash_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/oa_hash_map.h b/core/oa_hash_map.h
index 71e3ba9068..682fa8a3d4 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;