소스 검색

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;