diff options
Diffstat (limited to 'alc/effects/null.cpp')
-rw-r--r-- | alc/effects/null.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/effects/null.cpp b/alc/effects/null.cpp index 2d141e4e..9608f48a 100644 --- a/alc/effects/null.cpp +++ b/alc/effects/null.cpp @@ -63,12 +63,12 @@ void NullState::process(const size_t/*samplesToDo*/, struct NullStateFactory final : public EffectStateFactory { - EffectState *create() override; + al::intrusive_ptr<EffectState> create() override; }; /* Creates EffectState objects of the appropriate type. */ -EffectState *NullStateFactory::create() -{ return new NullState{}; } +al::intrusive_ptr<EffectState> NullStateFactory::create() +{ return al::intrusive_ptr<EffectState>{new NullState{}}; } } // namespace |