浏览代码

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.

(cherry picked from commit 97f9bbcfa3ba3f09d4486c02cc2230dc21256a3b)
Andrea Catania 5 年之前
父节点
当前提交
b0ba122443
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;