From 834ca2893b1558dad7ffb413e1e6bcf13ce08dcb Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 14 Jul 2020 22:13:54 -0500 Subject: [PATCH] [ox/std] Fix oxPanic errCode parameter name --- deps/ox/src/ox/std/assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/assert.hpp b/deps/ox/src/ox/std/assert.hpp index e08a5a2d..722a1b36 100644 --- a/deps/ox/src/ox/std/assert.hpp +++ b/deps/ox/src/ox/std/assert.hpp @@ -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(__FILE__, __LINE__, pass, msg) #else