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/pshifter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'alc/effects/pshifter.cpp') diff --git a/alc/effects/pshifter.cpp b/alc/effects/pshifter.cpp index ac00bac1..3a577ce7 100644 --- a/alc/effects/pshifter.cpp +++ b/alc/effects/pshifter.cpp @@ -247,7 +247,8 @@ void PshifterState::process(const size_t samplesToDo, const al::span create() override + { return al::intrusive_ptr{new PshifterState{}}; } }; } // namespace -- cgit v1.2.3