@@ -211,7 +211,9 @@ public:
|
|||||||
_pool.Destroy(this->next);
|
_pool.Destroy(this->next);
|
||||||
} else {
|
} else {
|
||||||
--popped.branch_count;
|
--popped.branch_count;
|
||||||
this->Branch();
|
if (popped.next != Tmax_size) {
|
||||||
|
++(_pool.Get(popped.next).branch_count);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* Accessing popped here is no problem as the pool will only set
|
/* Accessing popped here is no problem as the pool will only set
|
||||||
* the validity flag, not actually delete the item, on Destroy().
|
* the validity flag, not actually delete the item, on Destroy().
|
||||||
|
Reference in New Issue
Block a user