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
@@ -1616,7 +1616,7 @@ void unordered_map<K, 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());
}
}
@@ -2101,7 +2101,7 @@ void unordered_multimap<K, 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());
}
}