Deprecate table::erase_key_unique()

This commit is contained in:
Christian Mazakas
2021-12-23 13:12:52 -08:00
parent 36324af017
commit 9c07cf60a6
2 changed files with 1 additions and 6 deletions

View File

@ -3458,11 +3458,6 @@ namespace boost {
return 1;
}
std::size_t erase_key_unique(const_key_type& k)
{
return this->erase_key_unique_impl(this->key_eq(), k);
}
void erase_nodes_unique(node_pointer i, node_pointer j)
{
std::size_t bucket_index = this->node_bucket(i);

View File

@ -1366,7 +1366,7 @@ namespace boost {
typename unordered_set<T, H, P, A>::size_type
unordered_set<T, H, P, A>::erase(const key_type& k)
{
return table_.erase_key_unique(k);
return table_.erase_key_unique_impl(this->key_eq(), k);
}
template <class T, class H, class P, class A>