summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/assert.hh')
-rw-r--r--src/assert.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert.hh b/src/assert.hh
index 3bbb45d0..f60f31a0 100644
--- a/src/assert.hh
+++ b/src/assert.hh
@@ -31,7 +31,7 @@ void on_assert_failed(const char* message);
} catch (exception_type &err) {}
#else
#define kak_assert(...) do { (void)alignof(decltype(__VA_ARGS__)); } while(false)
- #define kak_expect_throw(_, ...) do { (void)sizeof(__VA_ARGS__); } while(false)
+ #define kak_expect_throw(_, ...) do { (void)alignof(decltype(__VA_ARGS__)); } while(false)
#endif