forked from boostorg/unordered
Make second parameter of delete_nodes a node_pointer
This commit is contained in:
@@ -1280,7 +1280,7 @@ void unordered_set<T, H, P, A>::clear() BOOST_NOEXCEPT
|
||||
{
|
||||
if (table_.size_) {
|
||||
table_.clear_buckets();
|
||||
table_.delete_nodes(table_.get_previous_start(), link_pointer());
|
||||
table_.delete_nodes(table_.get_previous_start(), node_pointer());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1684,7 +1684,7 @@ void unordered_multiset<T, H, P, A>::clear() BOOST_NOEXCEPT
|
||||
{
|
||||
if (table_.size_) {
|
||||
table_.clear_buckets();
|
||||
table_.delete_nodes(table_.get_previous_start(), link_pointer());
|
||||
table_.delete_nodes(table_.get_previous_start(), node_pointer());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user