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