forked from weaselab/conflict-set
1 parent
a4d1f91670
commit
c15c2e7b44
1 file changed
-1
@@ -558,7 +558,6 @@ template <class T> struct BoundedFreeListAllocator {
|
||||
}
|
||||
|
||||
void release(T *p) {
|
||||
static_assert(std::is_trivially_destructible_v<T>);
|
||||
if (freeListBytes >= kFreeListMaxMemory) {
|
||||
removeNode(p);
|
||||
return safe_free(p, sizeof(T) + p->partialKeyCapacity);
|
||||
|
||||
Reference in new issue
Block a user