mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-17 08:57:53 +00:00
fix annoying ninja if constexpr warning
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ void AssertFailSoftImpl();
|
||||
|
||||
#define ASSERT_MSG(_a_, ...) \
|
||||
([&]() YUZU_NO_INLINE { \
|
||||
if (!(_a_)) [[unlikely]] { \
|
||||
auto&& _a_eval_ = (_a_); \
|
||||
if (!(_a_eval_)) [[unlikely]] { \
|
||||
LOG_CRITICAL(Debug, __FILE__ ": assert " __VA_ARGS__); \
|
||||
AssertFailSoftImpl(); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user