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