aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/opensl.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-12-05 21:50:55 -0800
committerChris Robinson <[email protected]>2022-12-05 21:50:55 -0800
commitc55d6d8c345223c062dfdbd747fb13a8fd44aad5 (patch)
tree5d9b8343eb03f495904de14e57d61611a94e38b5 /alc/backends/opensl.cpp
parent4de5c7dfeebc2335ad3d7c2dd4905284677a68c9 (diff)
Avoid LIKELY/UNLIKELY macros
Diffstat (limited to 'alc/backends/opensl.cpp')
-rw-r--r--alc/backends/opensl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/opensl.cpp b/alc/backends/opensl.cpp
index 48642496..901d2ebe 100644
--- a/alc/backends/opensl.cpp
+++ b/alc/backends/opensl.cpp
@@ -148,7 +148,7 @@ const char *res_str(SLresult result) noexcept
}
#define PRINTERR(x, s) do { \
- if UNLIKELY((x) != SL_RESULT_SUCCESS) \
+ if((x) != SL_RESULT_SUCCESS) [[alunlikely]] \
ERR("%s: %s\n", (s), res_str((x))); \
} while(0)