aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/opensl.cpp
diff options
context:
space:
mode:
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)