From bdd57ee36a800e6772c3dcdc5570bf32f648f761 Mon Sep 17 00:00:00 2001 From: cathook Date: Sat, 18 Oct 2014 04:28:37 +0800 Subject: Add newline after assert --- meowpp/debug/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meowpp/debug') 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 -- cgit v1.2.3