diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-25 21:19:43 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-25 21:20:12 +0100 |
commit | 6edd4cb9eaca78a5c4254265f27602e7055d7e44 (patch) | |
tree | ca700ddbb03b44a1b012a8a8ef186a3382100087 /compat/assert.hpp | |
parent | 7409d8ddd39944c4e68ebd50c732ee9a9a886583 (diff) |
a
Diffstat (limited to 'compat/assert.hpp')
-rw-r--r-- | compat/assert.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp index bdb6b578..d72186ea 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -92,16 +92,16 @@ { \ if (a != b) [[unlikely]] \ { \ - WARN_nospace << Debug::color(Debug::Color::Magenta) \ - << "fatal:" \ - << Debug::resetColor << " " \ - << "Equality assertion failed at " \ - << __FILE__ << ":" << __LINE__; \ - WARN_nospace << #__VA_ARGS__; \ - WARN_nospace << " expected: " << a; \ - WARN_nospace << " actual: " << b; \ - fm_EMIT_ABORT(); \ - } \ + ERR_nospace << Debug::color(Debug::Color::Magenta) \ + << "fatal:" \ + << Debug::resetColor << " " \ + << "Equality assertion failed at " \ + << __FILE__ << ":" << __LINE__; \ + ERR_nospace << #__VA_ARGS__; \ + ERR_nospace << " expected: " << a; \ + ERR_nospace << " actual: " << b; \ + fm_EMIT_ABORT(); \ + } \ })(__VA_ARGS__) #ifdef __GNUG__ |