Browse Source

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.
Andrea Catania 5 years ago
parent
commit
97f9bbcfa3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/oa_hash_map.h

+ 1 - 1
core/oa_hash_map.h

@@ -300,7 +300,7 @@ public:
 		bool valid;
 		bool valid;
 
 
 		const TKey *key;
 		const TKey *key;
-		const TValue *value;
+		TValue *value;
 
 
 	private:
 	private:
 		uint32_t pos;
 		uint32_t pos;