fix a few typos in the new panic apis
This commit is contained in:
committed by
Mathias Agopian
parent
b4b702b977
commit
a52ae3a7ef
@@ -31,7 +31,7 @@ void abort() noexcept {
|
||||
}
|
||||
|
||||
void panic(const char *func, const char * file, int line, const char *assertion) noexcept {
|
||||
PANIC_LOG("%s:%d: failed assertion `%s'\n", file, line, assertion);
|
||||
PANIC_LOG("%s:%d: failed assertion '%s'\n", file, line, assertion);
|
||||
abort(); // set a breakpoint here
|
||||
return; // this line is needed to be able to move the cursor here in the debugger
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user