浏览代码

Removed const from OAHashMap iterator value

to allows to mutate the value while iterating over it.
Andrea Catania 5 年之前
父节点
当前提交
97f9bbcfa3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;