From c1ad5d6055e5f40a8c6edc351f9a7f8047e7d07f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 5 Sep 2020 14:28:08 -0700 Subject: Avoid confusing */*...*/ syntax MSVC warns about */ being outside of a comment. --- alc/effects/base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alc/effects/base.h b/alc/effects/base.h index 251a066f..a6b7e98a 100644 --- a/alc/effects/base.h +++ b/alc/effects/base.h @@ -175,8 +175,8 @@ struct EffectState : public al::intrusive_ref { * wish to hold on to it, as there's no guarantee the buffer won't be * deleted or altered during a mix. */ - virtual EffectBufferBase *createBuffer(const ALCdevice */*device*/, - const BufferStorage &/*buffer*/) + virtual EffectBufferBase *createBuffer(const ALCdevice* /*device*/, + const BufferStorage& /*buffer*/) { return nullptr; } virtual void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) = 0; virtual void process(const size_t samplesToDo, const al::span samplesIn, const al::span samplesOut) = 0; @@ -184,7 +184,7 @@ struct EffectState : public al::intrusive_ref { struct EffectStateFactory { - virtual ~EffectStateFactory() { } + virtual ~EffectStateFactory() = default; virtual EffectState *create() = 0; virtual EffectProps getDefaultProps() const noexcept = 0; -- cgit v1.2.3