Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--Seminar10/src/hashmap/linear-probing.hpp1
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;
}