Remove ChunkAllocator
This commit is contained in:
committed by
Matthew Parkinson
parent
73be8a3786
commit
821620133d
@@ -24,8 +24,6 @@ namespace snmalloc
|
||||
|
||||
private:
|
||||
using Backend = BackendAllocator<Pal, false>;
|
||||
SNMALLOC_REQUIRE_CONSTINIT
|
||||
inline static ChunkAllocatorState chunk_allocator_state;
|
||||
|
||||
SNMALLOC_REQUIRE_CONSTINIT
|
||||
inline static GlobalPoolState alloc_pool;
|
||||
@@ -46,12 +44,6 @@ namespace snmalloc
|
||||
}
|
||||
();
|
||||
|
||||
static ChunkAllocatorState&
|
||||
get_chunk_allocator_state(Backend::LocalState* = nullptr)
|
||||
{
|
||||
return chunk_allocator_state;
|
||||
}
|
||||
|
||||
static GlobalPoolState& pool()
|
||||
{
|
||||
return alloc_pool;
|
||||
|
||||
Reference in New Issue
Block a user