Make second parameter of delete_nodes a node_pointer

This commit is contained in:
Daniel James
2017-05-04 00:14:05 +01:00
parent 622dff50df
commit 77bd45b1fa
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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());
}
}