aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effect.cpp b/al/effect.cpp
index 1d2b9b3c..217cc1c2 100644
--- a/al/effect.cpp
+++ b/al/effect.cpp
@@ -187,7 +187,7 @@ ALeffect *AllocEffect(ALCdevice *device)
auto slidx = static_cast<ALuint>(al::countr_zero(sublist->FreeMask));
ASSUME(slidx < 64);
- ALeffect *effect{::new (sublist->Effects + slidx) ALeffect{}};
+ ALeffect *effect{al::construct_at(sublist->Effects + slidx)};
InitEffectParams(effect, AL_EFFECT_NULL);
/* Add 1 to avoid effect ID 0. */