diff options
author | Chris Robinson <[email protected]> | 2022-12-05 21:50:55 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-05 21:50:55 -0800 |
commit | c55d6d8c345223c062dfdbd747fb13a8fd44aad5 (patch) | |
tree | 5d9b8343eb03f495904de14e57d61611a94e38b5 /alc/backends/opensl.cpp | |
parent | 4de5c7dfeebc2335ad3d7c2dd4905284677a68c9 (diff) |
Avoid LIKELY/UNLIKELY macros
Diffstat (limited to 'alc/backends/opensl.cpp')
-rw-r--r-- | alc/backends/opensl.cpp | 2 |
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) |