diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-01 22:11:54 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-01 22:11:54 +0200 |
commit | a3fdb87df94f8d377b7ea90ca50a06418fda3867 (patch) | |
tree | 61bd8721273ccae6e8a55d78d762562e63997b93 /deimos/core/allocator.h | |
parent | 84062873e162bc4a7c799fb67f72dbd055eb15ca (diff) |
Open window & basic lifetime
Diffstat (limited to 'deimos/core/allocator.h')
-rw-r--r-- | deimos/core/allocator.h | 6 |
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;
|