Deleted the ability to implicitly copy LocalAllocator
This commit is contained in:
@@ -344,6 +344,8 @@ namespace snmalloc
|
||||
|
||||
public:
|
||||
constexpr LocalAllocator() = default;
|
||||
LocalAllocator(const LocalAllocator&) = delete;
|
||||
LocalAllocator& operator= (const LocalAllocator&) = delete;
|
||||
|
||||
/**
|
||||
* Initialise the allocator. For allocators that support local
|
||||
|
||||
Reference in New Issue
Block a user