forked from boostorg/unordered
Expand calls to clear implementation
This commit is contained in:
1 parent
f6f5ecdc00
commit
814926ef31
3 files changed
+29
-24
No files matched your search
@@ -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