Website Summary Files Commits Branches @commit @diff @stats
path: root / Seminar10 / src / hashmap
diff options
context:
space:
mode:
Commit9951cc576ee6f1a5a3b641f9dcb5fe4af7a77b51 (patch)
Author
 Stoycho Kyosev <skyosev@192.168.100.17>
2025-01-10 07:51:51 -0500
Committer
 Stoycho Kyosev <skyosev@192.168.100.17>
2025-01-10 07:51:51 -0500
Files4d1a8bcecde627416a1b0d68d7f4641a204cce05 /Seminar10/src/hashmap
Data-structures-and-algorithms-9951cc576ee6f1a5a3b641f9dcb5fe4af7a77b51.tar
Data-structures-and-algorithms-9951cc576ee6f1a5a3b641f9dcb5fe4af7a77b51.tar.gz
Data-structures-and-algorithms-9951cc576ee6f1a5a3b641f9dcb5fe4af7a77b51.zip
Parent00cd4d0b3541c1026a4c0f8d66d953690299178a (diff)
Parentc26ec94b0ec6f4b9429ebd91e63522dc94c9fd76 (diff)
Merge branch 'main' of https://github.com/stoychoX/Data-structures-and-algorithms
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;
}