diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mastering.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Alc/mastering.h b/Alc/mastering.h index a6cf58ed..14111130 100644 --- a/Alc/mastering.h +++ b/Alc/mastering.h @@ -61,9 +61,7 @@ struct Compressor { ALfloat LastAttack; ALfloat LastGainDev; - void *operator new(size_t size) = delete; - void *operator new(size_t /*size*/, void *ptr) noexcept { return ptr; } - void operator delete(void *block) noexcept { al_free(block); } + DEF_PLACE_NEWDEL() }; /* The compressor is initialized with the following settings: |