Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit19c65154bf2d4eec58dca6799017bf7d05d59fe0 (patch)
Author
 Stoycho Kyosev <68247567+stoychoX@users.noreply.github.com>
2025-01-09 15:48:00 +0200
Committer
 GitHub <noreply@github.com>
2025-01-09 15:48:00 +0200
Files1f8657678525551e9b9ade8b108c090916fe2b14
Data-structures-and-algorithms-19c65154bf2d4eec58dca6799017bf7d05d59fe0.tar
Data-structures-and-algorithms-19c65154bf2d4eec58dca6799017bf7d05d59fe0.tar.gz
Data-structures-and-algorithms-19c65154bf2d4eec58dca6799017bf7d05d59fe0.zip
Parent95f50aa01b1baf368e38069991ad585b111d6d94 (diff)
Parent95db0d349d14ecc69f7edc970d5251455b65a4be (diff)
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.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;
}