Explorar o código

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.
Andrea Catania %!s(int64=5) %!d(string=hai) anos
pai
achega
97f9bbcfa3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/oa_hash_map.h

+ 1 - 1
core/oa_hash_map.h

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