From 2b6ffa3c3f38c2f0929fa4d797511ab0b77302a2 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 17 May 2018 23:26:34 -0500 Subject: [PATCH] [ox/std] Make assert prints more noticable --- deps/ox/src/ox/std/assert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/assert.cpp b/deps/ox/src/ox/std/assert.cpp index 235741294..c7541e0e5 100644 --- a/deps/ox/src/ox/std/assert.cpp +++ b/deps/ox/src/ox/std/assert.cpp @@ -19,7 +19,7 @@ namespace ox { void _assert([[maybe_unused]]const char *file, [[maybe_unused]]int line, [[maybe_unused]]bool pass, [[maybe_unused]]const char *msg) { #if defined(OX_USE_STDLIB) if (!pass) { - std::cerr << '(' << file << ':' << line << "): " << msg << std::endl; + std::cerr << "\033[31;1;1mASSERT FAILURE:\033[0m (" << file << ':' << line << "): " << msg << std::endl; std::abort(); } #endif