aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-09-05 14:28:08 -0700
committerChris Robinson <[email protected]>2020-09-05 14:28:08 -0700
commitc1ad5d6055e5f40a8c6edc351f9a7f8047e7d07f (patch)
tree4e7172906cb3d00297232132a15af8b975d16d32
parent7e3fed42ed8f75a8ca4aba8c47b017afa24e5fb4 (diff)
Avoid confusing */*...*/ syntax
MSVC warns about */ being outside of a comment.
-rw-r--r--alc/effects/base.h6
1 files 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<EffectState> {
* 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<const FloatBufferLine> samplesIn, const al::span<FloatBufferLine> samplesOut) = 0;
@@ -184,7 +184,7 @@ struct EffectState : public al::intrusive_ref<EffectState> {
struct EffectStateFactory {
- virtual ~EffectStateFactory() { }
+ virtual ~EffectStateFactory() = default;
virtual EffectState *create() = 0;
virtual EffectProps getDefaultProps() const noexcept = 0;