aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/debug
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp/debug')
-rw-r--r--meowpp/debug/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/meowpp/debug/assert.h b/meowpp/debug/assert.h
index d78094d..0143e86 100644
--- a/meowpp/debug/assert.h
+++ b/meowpp/debug/assert.h
@@ -51,7 +51,7 @@ namespace meow {
(fprintf(stderr, "Assertion error at " \
__FILE__ ":" MEOWPP_TOSTRING(__LINE__) \
" >>> " __VA_ARGS__), \
- abort(), false)) && false)
+ abort(), false) + fprintf(stderr, "\n")) && false)
#else // MEOWPP_DEBUG_ASSERT_TESTING
@@ -60,7 +60,7 @@ namespace meow {
(fprintf(stderr, "Assertion error at " \
__FILE__ ":" MEOWPP_TOSTRING(__LINE__) \
" >>> " __VA_ARGS__), \
- test::abort(), false)) && false)
+ test::abort(), false) + fprintf(stderr, "\n")) && false)
#endif // MEOWPP_DEBUG_ASSERT_TESTING