Răsfoiți Sursa

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.

(cherry picked from commit 97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b)
Andrea Catania 5 ani în urmă
părinte
comite
b0ba122443
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      core/oa_hash_map.h

+ 1 - 1
core/oa_hash_map.h

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