diff options
Diffstat (limited to 'alc/effects/autowah.cpp')
-rw-r--r-- | alc/effects/autowah.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/effects/autowah.cpp b/alc/effects/autowah.cpp index 154c33ff..403a23e3 100644 --- a/alc/effects/autowah.cpp +++ b/alc/effects/autowah.cpp @@ -199,7 +199,8 @@ void AutowahState::process(const size_t samplesToDo, struct AutowahStateFactory final : public EffectStateFactory { - EffectState *create() override { return new AutowahState{}; } + al::intrusive_ptr<EffectState> create() override + { return al::intrusive_ptr<EffectState>{new AutowahState{}}; } }; } // namespace |