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