From c4ce0ec4411f21e0a2f8485588717c59f0b9970c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 17 Sep 2023 00:09:18 -0700 Subject: Rename noinline to NOINLINE To avoid clashes with compilers that use it as a keyword already --- al/source.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'al/source.cpp') diff --git a/al/source.cpp b/al/source.cpp index d5ac8f45..9289d25c 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -1423,7 +1423,7 @@ auto GetCheckers(ALCcontext *const Context, const SourceProp prop, const al::spa } template -noinline void SetProperty(ALsource *const Source, ALCcontext *const Context, const SourceProp prop, +NOINLINE void SetProperty(ALsource *const Source, ALCcontext *const Context, const SourceProp prop, const al::span values) try { auto&& [CheckSize, CheckValue] = GetCheckers(Context, prop, values); @@ -2008,7 +2008,7 @@ auto GetSizeChecker(ALCcontext *const Context, const SourceProp prop, const al:: } template -[[nodiscard]] noinline +[[nodiscard]] NOINLINE bool GetProperty(ALsource *const Source, ALCcontext *const Context, const SourceProp prop, const al::span values) try { -- cgit v1.2.3