Move panic.h to misc

This commit is contained in:
madmaurice 2023-08-29 23:15:00 +02:00
parent ef2615c1a7
commit eb0e591b25
3 changed files with 2 additions and 2 deletions

9
misc/panic.h Normal file
View file

@ -0,0 +1,9 @@
#include <cstdio>
#include <cstdlib>
template <typename... Args>
inline void panic [[noreturn]] (Args... args)
{
printf(args...);
exit(1);
}