Files
snmalloc/src/mem/allocslab.h
Matthew Parkinson e011c297e6 Allocslab doesn't need to know impl of Remote
The Allocslab only needs to know of the RemoteAllocators existance.
2021-05-18 14:58:15 +01:00

21 lines
283 B
C++

#pragma once
#include "baseslab.h"
namespace snmalloc
{
struct RemoteAllocator;
class Allocslab : public Baseslab
{
protected:
RemoteAllocator* allocator;
public:
RemoteAllocator* get_allocator()
{
return allocator;
}
};
} // namespace snmalloc