diff options
author | Matías Locatti <42481638+goldenx86@users.noreply.github.com> | 2022-12-18 02:16:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-18 02:16:52 +0100 |
commit | fd1ea0fd8463c65f3d266512cba04a5c9d0863da (patch) | |
tree | 573d78a36a48d9cf439c5f65d96f5f1a63449128 /src/common | |
parent | Merge pull request #9456 from german77/virtual_gamepad (diff) | |
download | yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar.gz yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar.bz2 yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar.lz yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar.xz yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.tar.zst yuzu-fd1ea0fd8463c65f3d266512cba04a5c9d0863da.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/assert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/assert.h b/src/common/assert.h index 8c927fcc0..67e7e9375 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -69,7 +69,7 @@ void assert_fail_impl(); #define ASSERT_OR_EXECUTE(_a_, _b_) \ do { \ ASSERT(_a_); \ - if (!(_a_)) { \ + if (!(_a_)) [[unlikely]] { \ _b_ \ } \ } while (0) @@ -78,7 +78,7 @@ void assert_fail_impl(); #define ASSERT_OR_EXECUTE_MSG(_a_, _b_, ...) \ do { \ ASSERT_MSG(_a_, __VA_ARGS__); \ - if (!(_a_)) { \ + if (!(_a_)) [[unlikely]] { \ _b_ \ } \ } while (0) |