summaryrefslogtreecommitdiffhomepage
path: root/compat/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/assert.hpp')
-rw-r--r--compat/assert.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp
index d72186ea..8affc664 100644
--- a/compat/assert.hpp
+++ b/compat/assert.hpp
@@ -61,7 +61,7 @@
#define fm_assert(...) \
do { \
- if (!(__VA_ARGS__)) [[unlikely]] { \
+ if (!(__VA_ARGS__)) /*NOLINT(*-simplify-boolean-expr)*/ [[unlikely]] { \
fm_EMIT_DEBUG("", "assertion failed: %s in %s:%d", \
#__VA_ARGS__, __FILE__, __LINE__); \
fm_EMIT_ABORT(); \