diff options
Merge pull request #18 from ico12319/patch-6
Update linear-probing.hpp
1 files changed, 1 insertions, 0 deletions
| -rw-r--r-- | Seminar10/src/hashmap/linear-probing.hpp | 1 |
diff --git a/Seminar10/src/hashmap/linear-probing.hpp b/Seminar10/src/hashmap/linear-probing.hpp index c454388..04a541f 100644 --- a/Seminar10/src/hashmap/linear-probing.hpp +++ b/Seminar10/src/hashmap/linear-probing.hpp @@ -197,6 +197,7 @@ void linear_probing_hashmap<Key, Value, Hash>::erase(const Key& key) { current_node.deleted = true; current_node.empty = true; + _size--; break; } |
