forked from boostorg/unordered
Expand calls to clear implementation
This commit is contained in:
@@ -3078,17 +3078,6 @@ struct table : boost::unordered::detail::functions<typename Types::hasher,
|
||||
BOOST_ASSERT(!size_);
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
if (!size_)
|
||||
return;
|
||||
|
||||
clear_buckets();
|
||||
delete_nodes(get_previous_start(), link_pointer());
|
||||
|
||||
BOOST_ASSERT(!size_);
|
||||
}
|
||||
|
||||
void destroy_buckets()
|
||||
{
|
||||
bucket_pointer end = get_bucket(bucket_count_ + 1);
|
||||
|
||||
Reference in New Issue
Block a user