From 74e6a4cbff33dc9adcfca8b9df2797a5d129a924 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 16 Feb 2020 01:43:54 -0600 Subject: [PATCH] [ox/std] Fix oxPanic parameter order --- 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 fd7e19f8..e08a5a2d 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__, pass, msg) +#define oxPanic(pass, msg) ox::panic(__FILE__, __LINE__, msg, pass) #ifndef NDEBUG #define oxAssert(pass, msg) ox::assertFunc(__FILE__, __LINE__, pass, msg) #else