mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 06:24:44 +02:00
Fixed error when clear_on_destroy was made configurable. hashtable always needs to clear the bucket array to be able to reuse buckets.
[SVN r85310]
This commit is contained in:
@@ -1094,7 +1094,8 @@ class hashtable_impl
|
||||
, VoidOrKeyHash, VoidOrKeyEqual, ValueTraits, BucketTraits>
|
||||
, private detail::clear_on_destructor_base
|
||||
< hashtable_impl<ValueTraits, VoidOrKeyHash, VoidOrKeyEqual, SizeType, BucketTraits, BoolFlags>
|
||||
, is_safe_autounlink<detail::get_real_value_traits<ValueTraits>::type::link_mode>::value
|
||||
, true //To always clear the bucket array
|
||||
//is_safe_autounlink<detail::get_real_value_traits<ValueTraits>::type::link_mode>::value
|
||||
>
|
||||
{
|
||||
template<class C, bool> friend class detail::clear_on_destructor_base;
|
||||
|
Reference in New Issue
Block a user