diff options
author | Chris Robinson <[email protected]> | 2020-12-28 08:04:23 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-28 08:04:23 -0800 |
commit | aae115c35a2b1899cfcaf443aa9a6da9b7647258 (patch) | |
tree | 66c551b2523c69ff1206978467d3887c803054ea /alc/effects/base.h | |
parent | 15e05fcef882e3d50104db39d38019165c7995f9 (diff) |
Return an intrusive_ptr from EffectStateFactory::create
Diffstat (limited to 'alc/effects/base.h')
-rw-r--r-- | alc/effects/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/base.h b/alc/effects/base.h index 8fa22bb5..32d7fc86 100644 --- a/alc/effects/base.h +++ b/alc/effects/base.h @@ -180,7 +180,7 @@ struct EffectState : public al::intrusive_ref<EffectState> { struct EffectStateFactory { virtual ~EffectStateFactory() = default; - virtual EffectState *create() = 0; + virtual al::intrusive_ptr<EffectState> create() = 0; }; |