[ox/std] Fix oxPanic parameter order

This commit is contained in:
Gary Talent 2020-02-16 01:43:54 -06:00
parent 5c710051c5
commit 74e6a4cbff

View File

@ -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 #ifndef NDEBUG
#define oxAssert(pass, msg) ox::assertFunc<decltype(pass)>(__FILE__, __LINE__, pass, msg) #define oxAssert(pass, msg) ox::assertFunc<decltype(pass)>(__FILE__, __LINE__, pass, msg)
#else #else