diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-10-18 04:28:37 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-10-18 04:28:37 +0800 |
commit | bdd57ee36a800e6772c3dcdc5570bf32f648f761 (patch) | |
tree | 72e01b108cc076e0cf4e90a6bc4e8db31648f932 | |
parent | fa817eee52694a15241c7d65c578f37c1b869dc9 (diff) | |
download | meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar.gz meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar.bz2 meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar.lz meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar.xz meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.tar.zst meow-bdd57ee36a800e6772c3dcdc5570bf32f648f761.zip |
Add newline after assert
-rw-r--r-- | meowpp/debug/assert.h | 4 |
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 |