diff options
author | Chris Robinson <[email protected]> | 2023-12-16 17:48:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-16 17:48:33 -0800 |
commit | bc83c874ff15b29fdab9b6c0bf40b268345b3026 (patch) | |
tree | 41691ecf41423d015726c334987df70bdf9b5396 /core/effectslot.h | |
parent | 4fb33be2b4cb548b4116ee4124ba3d8d2bcecb82 (diff) |
Remove DEF_NEWDEL
C++17 provides alignment-aware allocators for us, so we don't need to use our
own to make sure classes/structs are properly aligned.
Diffstat (limited to 'core/effectslot.h')
-rw-r--r-- | core/effectslot.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/effectslot.h b/core/effectslot.h index 3362ba85..cf8503ff 100644 --- a/core/effectslot.h +++ b/core/effectslot.h @@ -46,8 +46,6 @@ struct EffectSlotProps { al::intrusive_ptr<EffectState> State; std::atomic<EffectSlotProps*> next; - - DEF_NEWDEL(EffectSlotProps) }; @@ -83,8 +81,6 @@ struct EffectSlot { static EffectSlotArray *CreatePtrArray(size_t count) noexcept; - - DEF_NEWDEL(EffectSlot) }; #endif /* CORE_EFFECTSLOT_H */ |