diff options
author | Liam <byteslice@airmail.cc> | 2022-06-08 01:46:10 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-14 02:09:32 +0200 |
commit | a29ddcee40d78b1c1f7f64855331888777add4f4 (patch) | |
tree | c17c48910b91d06273b467e1a6994089df9fb17e /src | |
parent | general: fix compilation on GCC 12 (diff) | |
download | yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar.gz yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar.bz2 yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar.lz yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar.xz yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.tar.zst yuzu-a29ddcee40d78b1c1f7f64855331888777add4f4.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/assert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/assert.cpp b/src/common/assert.cpp index b20c19123..1a85faccf 100644 --- a/src/common/assert.cpp +++ b/src/common/assert.cpp @@ -7,7 +7,7 @@ #include "common/settings.h" void assert_check_condition(bool cond, std::function<void()>&& on_failure) { - if (!cond) { + if (!cond) [[unlikely]] { on_failure(); if (Settings::values.use_debug_asserts) { |