summaryrefslogtreecommitdiff
path: root/deimos/core/allocator.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-01 22:11:54 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-01 22:11:54 +0200
commita3fdb87df94f8d377b7ea90ca50a06418fda3867 (patch)
tree61bd8721273ccae6e8a55d78d762562e63997b93 /deimos/core/allocator.h
parent84062873e162bc4a7c799fb67f72dbd055eb15ca (diff)
Open window & basic lifetime
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;