diff options
Diffstat (limited to 'common/hashmap.h')
-rw-r--r-- | common/hashmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/hashmap.h b/common/hashmap.h index 81a4b0d17e..1bae44e98e 100644 --- a/common/hashmap.h +++ b/common/hashmap.h @@ -535,6 +535,7 @@ void HashMap<Key, Val, HashFunc, EqualFunc>::erase(const Key &key) { } } _arr[i] = NULL; + _nele--; return; } |