[ox/std] Fix oxPanic parameter order
This commit is contained in:
parent
5c710051c5
commit
74e6a4cbff
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__, pass, msg)
|
||||
#define oxPanic(pass, msg) ox::panic(__FILE__, __LINE__, msg, pass)
|
||||
#ifndef NDEBUG
|
||||
#define oxAssert(pass, msg) ox::assertFunc<decltype(pass)>(__FILE__, __LINE__, pass, msg)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user