summaryrefslogtreecommitdiff
path: root/deimos/core/allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'deimos/core/allocator.h')
-rw-r--r--deimos/core/allocator.h6
1 files changed, 3 insertions, 3 deletions
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<IAllocator*> 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;