aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-11 20:06:23 -0800
committerChris Robinson <[email protected]>2019-01-11 20:06:23 -0800
commit77447fcd542d0e27b0e19caa666c0246c0cb05d2 (patch)
treea4ee0167c1bbd45209ee5fa5ecfa4ec7fec3a909 /OpenAL32
parent852c5005ab0b4709a6efa125146b01902950d273 (diff)
Add placement operator delete
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alAuxEffectSlot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp
index 47fff9d1..c9803819 100644
--- a/OpenAL32/alAuxEffectSlot.cpp
+++ b/OpenAL32/alAuxEffectSlot.cpp
@@ -190,7 +190,7 @@ ALeffectslotArray *ALeffectslot::CreatePtrArray(size_t count) noexcept
/* Allocate space for twice as many pointers, so the mixer has scratch
* space to store a sorted list during mixing.
*/
- void *ptr{al_calloc(DEF_ALIGN, ALeffectslotArray::CalcSizeof(count*2))};
+ void *ptr{al_calloc(DEF_ALIGN, ALeffectslotArray::Sizeof(count*2))};
return new (ptr) ALeffectslotArray{count};
}