Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit95db0d349d14ecc69f7edc970d5251455b65a4be (patch)
Author
 Hristo Partenov <146854527+ico12319@users.noreply.github.com>
2025-01-02 00:05:40 +0200
Committer
 GitHub <noreply@github.com>
2025-01-02 00:05:40 +0200
Files638444417dda0ea689362ba39a6b5eb080d82a70
Data-structures-and-algorithms-95db0d349d14ecc69f7edc970d5251455b65a4be.tar
Data-structures-and-algorithms-95db0d349d14ecc69f7edc970d5251455b65a4be.tar.gz
Data-structures-and-algorithms-95db0d349d14ecc69f7edc970d5251455b65a4be.zip
Parent90b32d10c043f97b364537758e4edf610acd6bd1 (diff)
Update linear-probing.hpp
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;
}