mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
refactored unprotected_rehash_if_full out
This commit is contained in:
@ -1158,11 +1158,6 @@ private:
|
|||||||
void rehash_if_full()
|
void rehash_if_full()
|
||||||
{
|
{
|
||||||
auto lck=exclusive_access();
|
auto lck=exclusive_access();
|
||||||
unprotected_rehash_if_full();
|
|
||||||
}
|
|
||||||
|
|
||||||
void unprotected_rehash_if_full()
|
|
||||||
{
|
|
||||||
if(this->size_==this->ml)this->unchecked_rehash_for_growth();
|
if(this->size_==this->ml)this->unchecked_rehash_for_growth();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user