diff options
Diffstat (limited to 'alc/effects/fshifter.cpp')
-rw-r--r-- | alc/effects/fshifter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index 9fe3b77e..1f202fc3 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -219,7 +219,8 @@ void FshifterState::process(const size_t samplesToDo, const al::span<const Float struct FshifterStateFactory final : public EffectStateFactory { - EffectState *create() override { return new FshifterState{}; } + al::intrusive_ptr<EffectState> create() override + { return al::intrusive_ptr<EffectState>{new FshifterState{}}; } }; } // namespace |