From 8ea6924dda8d452bd870302a2c4e96f437ee5443 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 22 Nov 2023 21:38:29 +0100 Subject: flush --- compat/assert.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'compat') diff --git a/compat/assert.hpp b/compat/assert.hpp index cce97d8e..683b9e72 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -92,11 +92,12 @@ { \ if (a != b) [[unlikely]] \ { \ - DBG_nospace << __FILE__ << ":" << __LINE__ << ": " \ - << Debug::color(Debug::Color::Red) \ + DBG_nospace << Debug::color(Debug::Color::Red) \ << "fatal:" \ - << Debug::resetColor \ - << " assertion failed: " << #__VA_ARGS__; \ + << Debug::resetColor << " " \ + << "Equality assertion failed at " \ + << __FILE__ << ":" << __LINE__ << ":"; \ + DBG_nospace << #__VA_ARGS__; \ DBG_nospace << " expected: " << a; \ DBG_nospace << " actual: " << b; \ fm_EMIT_ABORT(); \ -- cgit v1.2.3