Explorar el Código

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.
Andrea Catania hace 5 años
padre
commit
97f9bbcfa3
Se han modificado 1 ficheros con 1 adiciones y 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;