blob: e811b38e8f433bb02191b3214bce29638fc46d7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <cassert>
namespace euler {
[[noreturn]] void assert_failed(
const char *, const char *, int, const char *
) {
//TODO: print error and abort
//we could just exit right now but i want to keep us in
//the application so we can get a stack trace in gdb.
while (1)
;
}
}
|