diff options
author | Chris Robinson <[email protected]> | 2023-05-05 13:37:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-05 13:50:16 -0700 |
commit | bfe766cd574985465fe1a9f4cffa388ca9ca1f9b (patch) | |
tree | 7752588dfa87ae2616fd84437697f4458d4d5293 /al/effect.cpp | |
parent | 09b153b85c9f6c75a6361ab2ecb0ed81e8920ff3 (diff) |
Use some more standard functions
Diffstat (limited to 'al/effect.cpp')
-rw-r--r-- | al/effect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/effect.cpp b/al/effect.cpp index 28f5e967..3d91139a 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -210,7 +210,7 @@ void FreeEffect(ALCdevice *device, ALeffect *effect) const size_t lidx{id >> 6}; const ALuint slidx{id & 0x3f}; - al::destroy_at(effect); + std::destroy_at(effect); device->EffectList[lidx].FreeMask |= 1_u64 << slidx; } @@ -555,7 +555,7 @@ EffectSubList::~EffectSubList() while(usemask) { const int idx{al::countr_zero(usemask)}; - al::destroy_at(Effects+idx); + std::destroy_at(Effects+idx); usemask &= ~(1_u64 << idx); } FreeMask = ~usemask; |