Browse Source

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.
Andrea Catania 5 năm trước cách đây
mục cha
commit
97f9bbcfa3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;