summaryrefslogtreecommitdiff
path: root/include/fud_assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_assert.hpp')
-rw-r--r--include/fud_assert.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_assert.hpp b/include/fud_assert.hpp
index 5b63703..fd861ea 100644
--- a/include/fud_assert.hpp
+++ b/include/fud_assert.hpp
@@ -24,7 +24,7 @@ void assertFail(const char* assertion, const char* file, unsigned int line, cons
__attribute__((__noreturn__));
#define fudAssert(expr) \
- (static_cast<bool>(expr) ? static_cast<void>(0) : assertFail(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__))
+ ((expr) ? static_cast<void>(0) : assertFail(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__))
} // namespace fud