aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/hash_set.h
diff options
context:
space:
mode:
authornocomer <nocomer@yandex-team.com>2023-12-14 10:52:01 +0300
committernocomer <nocomer@yandex-team.com>2023-12-14 11:48:14 +0300
commit9f628a1d9f709095a93415ca5387a7c9bc47a32c (patch)
treea704581e9f4bb7184d8e5c8a75abf59316c8a07c /util/generic/hash_set.h
parent76057e78812da836444d2dc6a65dff259ccd3701 (diff)
downloadydb-9f628a1d9f709095a93415ca5387a7c9bc47a32c.tar.gz
Replace rep.erase with rep.erase_one in THashSet::erase
Diffstat (limited to 'util/generic/hash_set.h')
-rw-r--r--util/generic/hash_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/hash_set.h b/util/generic/hash_set.h
index fd8851c299..cb86b72106 100644
--- a/util/generic/hash_set.h
+++ b/util/generic/hash_set.h
@@ -221,7 +221,7 @@ public:
}
size_type erase(const key_type& key) {
- return rep.erase(key);
+ return rep.erase_one(key);
}
void erase(iterator it) {
rep.erase(it);