[ox/std] Fix oxPanic errCode parameter name
This commit is contained in:
parent
c6ff015f79
commit
834ca2893b
2
deps/ox/src/ox/std/assert.hpp
vendored
2
deps/ox/src/ox/std/assert.hpp
vendored
@ -27,7 +27,7 @@ void panic([[maybe_unused]]const char *file, [[maybe_unused]]int line, [[maybe_u
|
||||
|
||||
}
|
||||
|
||||
#define oxPanic(pass, msg) ox::panic(__FILE__, __LINE__, msg, pass)
|
||||
#define oxPanic(errCode, msg) ox::panic(__FILE__, __LINE__, msg, errCode)
|
||||
#ifndef NDEBUG
|
||||
#define oxAssert(pass, msg) ox::assertFunc<decltype(pass)>(__FILE__, __LINE__, pass, msg)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user