From a3fdb87df94f8d377b7ea90ca50a06418fda3867 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 1 May 2024 22:11:54 +0200 Subject: Open window & basic lifetime --- deimos/core/allocator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deimos/core/allocator.h') diff --git a/deimos/core/allocator.h b/deimos/core/allocator.h index 5afb824..07a214e 100644 --- a/deimos/core/allocator.h +++ b/deimos/core/allocator.h @@ -25,15 +25,15 @@ struct IAllocator class Allocator { - gsl::owner m_allocator; - const MemoryScope m_scope; + IAllocator* m_allocator; + MemoryScope m_scope; public: constexpr Allocator(IAllocator* allocator, MemoryScope scope) : m_allocator{allocator}, m_scope{scope} {} - deimos_NO_COPY_MOVE(Allocator); + deimos_DEFAULT_COPY_MOVE(Allocator); ~Allocator() = default; -- cgit