'Generic Commit'
All checks were successful
Build-Test-Publish / build (push) Successful in 14m30s

This commit is contained in:
Your Name
2025-06-14 17:23:32 +12:00
parent 46e2a7b345
commit 62a2a1231a
2 changed files with 11 additions and 1 deletions

View File

@@ -169,6 +169,9 @@ void assert_failed(
std::source_location location
) {
if (!condition) {
std::cout << std::flush;
std::cerr << std::flush;
std::cerr << colors::red << "Assertion failed at " << location.file_name() << ":" << location.line() << ": "
<< location.function_name() << ": " << message << colors::reset << "\n";
print_stacktrace();