Deleted the ability to implicitly copy LocalAllocator

This commit is contained in:
Istvan Haller
2021-08-23 16:33:48 +01:00
parent 99f57646da
commit 4d2bf93b7a

View File

@@ -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