aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-09-17 00:09:18 -0700
committerChris Robinson <[email protected]>2023-09-17 00:09:18 -0700
commitc4ce0ec4411f21e0a2f8485588717c59f0b9970c (patch)
treed27d078ef3f2298d6bfc92f90314c881ef4edc88 /al
parent2e293ee7cbc6f0dbd069ba7c678d20c1af16872f (diff)
Rename noinline to NOINLINE
To avoid clashes with compilers that use it as a keyword already
Diffstat (limited to 'al')
-rw-r--r--al/source.cpp4
1 files changed, 2 insertions, 2 deletions
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<typename T>
-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<const T> values) try
{
auto&& [CheckSize, CheckValue] = GetCheckers(Context, prop, values);
@@ -2008,7 +2008,7 @@ auto GetSizeChecker(ALCcontext *const Context, const SourceProp prop, const al::
}
template<typename T>
-[[nodiscard]] noinline
+[[nodiscard]] NOINLINE
bool GetProperty(ALsource *const Source, ALCcontext *const Context, const SourceProp prop,
const al::span<T> values) try
{