diff options
Diffstat (limited to 'zencore')
| -rw-r--r-- | zencore/include/zencore/memory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/memory.h b/zencore/include/zencore/memory.h index 8b18305e3..040f97025 100644 --- a/zencore/include/zencore/memory.h +++ b/zencore/include/zencore/memory.h @@ -52,6 +52,9 @@ public: ZENCORE_API void* Alloc(size_t Size, size_t Alignment = sizeof(void*)); inline void Free(void* Ptr) { ZEN_UNUSED(Ptr); /* no-op */ } + ChunkingLinearAllocator(const ChunkingLinearAllocator&) = delete; + ChunkingLinearAllocator&operator=(const ChunkingLinearAllocator&) = delete; + private: uint8_t* m_ChunkCursor = nullptr; uint64_t m_ChunkBytesRemain = 0; |