diff options
author | Chris Robinson <[email protected]> | 2018-11-20 10:01:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-20 10:01:20 -0800 |
commit | 1e31ac469e129ccd5cde5fb890b31fa8b6815a9b (patch) | |
tree | 7f5dec8b7e58ad404b02e1935c01fe21ccfcb04d /OpenAL32/alSource.cpp | |
parent | 29558c091b55e54770869deb13483fa0b8e35e12 (diff) |
Store effect slots as unique_ptrs
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r-- | OpenAL32/alSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index 2585039f..2c452918 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -105,7 +105,7 @@ static inline ALeffectslot *LookupEffectSlot(ALCcontext *context, ALuint id) --id; if(UNLIKELY(id >= context->EffectSlotList.size())) return nullptr; - return context->EffectSlotList[id]; + return context->EffectSlotList[id].get(); } |