Skip to content

Commit

Permalink
Removed const from OAHashMap iterator value
Browse files Browse the repository at this point in the history
to allows to mutate the value while iterating over it.
  • Loading branch information
AndreaCatania authored May 8, 2020
1 parent 924cecf commit 97f9bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/oa_hash_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class OAHashMap {
bool valid;

const TKey *key;
const TValue *value;
TValue *value;

private:
uint32_t pos;
Expand Down

0 comments on commit 97f9bbc

Please sign in to comment.