[ox/std] Fix oxPanic errCode parameter name

(synced from 834ca2893b)
This commit is contained in:
2020-07-14 22:13:54 -05:00
parent e777359a2e
commit 6c324655ed
+1 -1
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__, msg, pass) #define oxPanic(errCode, msg) ox::panic(__FILE__, __LINE__, msg, errCode)
#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