diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 935cbb30..225a02ff 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -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); diff --git a/include/boost/unordered/unordered_set.hpp b/include/boost/unordered/unordered_set.hpp index 98a05914..c0841cf7 100644 --- a/include/boost/unordered/unordered_set.hpp +++ b/include/boost/unordered/unordered_set.hpp @@ -1366,7 +1366,7 @@ namespace boost { typename unordered_set::size_type unordered_set::erase(const key_type& k) { - return table_.erase_key_unique(k); + return table_.erase_key_unique_impl(this->key_eq(), k); } template