From aae115c35a2b1899cfcaf443aa9a6da9b7647258 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 28 Dec 2020 08:04:23 -0800 Subject: Return an intrusive_ptr from EffectStateFactory::create --- alc/effects/vmorpher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'alc/effects/vmorpher.cpp') 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 create() override + { return al::intrusive_ptr{new VmorpherState{}}; } }; } // namespace -- cgit v1.2.3