diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 20:32:24 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 20:32:24 +0200 |
| commit | ccc6b7fcb08f5a5713c2ac74a28113814b4c70b4 (patch) | |
| tree | 3f06113a5129211368df688f243eac7451a41bec /compat | |
| parent | 5d0b65de8f9e95fe813037ab5435fe547d406adc (diff) | |
a
Diffstat (limited to 'compat')
| -rw-r--r-- | compat/assert.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp index 9c55c5b3..81d5d4ab 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -12,6 +12,7 @@ constexpr inline void abort(const char (&fmt)[N], Xs... xs) if (std::is_constant_evaluated()) throw "aborting"; else { + std::fputs("fatal: ", stderr); std::fprintf(stderr, fmt, xs...); std::putc('\n', stderr); std::fflush(stderr); |
