aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/convolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r--alc/effects/convolution.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp
index 716830a9..64c05172 100644
--- a/alc/effects/convolution.cpp
+++ b/alc/effects/convolution.cpp
@@ -539,7 +539,8 @@ void ConvolutionState::process(const size_t samplesToDo,
struct ConvolutionStateFactory final : public EffectStateFactory {
- EffectState *create() override { return new ConvolutionState{}; }
+ al::intrusive_ptr<EffectState> create() override
+ { return al::intrusive_ptr<EffectState>{new ConvolutionState{}}; }
};
} // namespace