From 0036434d7c9894f99bb35add5c45a87a28cd1b85 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 4 May 2024 17:22:12 -0700 Subject: [PATCH] Remove some explicit inlines --- al/auxeffectslot.cpp | 2 +- al/buffer.cpp | 2 +- al/filter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index a803500f..0d657ff0 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -100,7 +100,7 @@ EffectStateFactory *getFactoryByType(EffectSlotType type) } -inline auto LookupEffectSlot(ALCcontext *context, ALuint id) noexcept -> ALeffectslot* +auto LookupEffectSlot(ALCcontext *context, ALuint id) noexcept -> ALeffectslot* { const size_t lidx{(id-1) >> 6}; const ALuint slidx{(id-1) & 0x3f}; diff --git a/al/buffer.cpp b/al/buffer.cpp index 883878b2..8af757d9 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -236,7 +236,7 @@ void FreeBuffer(ALCdevice *device, ALbuffer *buffer) device->BufferList[lidx].FreeMask |= 1_u64 << slidx; } -inline auto LookupBuffer(ALCdevice *device, ALuint id) noexcept -> ALbuffer* +auto LookupBuffer(ALCdevice *device, ALuint id) noexcept -> ALbuffer* { const size_t lidx{(id-1) >> 6}; const ALuint slidx{(id-1) & 0x3f}; diff --git a/al/filter.cpp b/al/filter.cpp index 95b9e10c..5e56c6f0 100644 --- a/al/filter.cpp +++ b/al/filter.cpp @@ -155,7 +155,7 @@ void FreeFilter(ALCdevice *device, ALfilter *filter) } -inline auto LookupFilter(ALCdevice *device, ALuint id) noexcept -> ALfilter* +auto LookupFilter(ALCdevice *device, ALuint id) noexcept -> ALfilter* { const size_t lidx{(id-1) >> 6}; const ALuint slidx{(id-1) & 0x3f}; -- 2.11.4.GIT