From f12de38211b8f632cb0dfc6532bd3a98391e3471 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 18 Aug 2018 23:57:59 -0500 Subject: [PATCH] [ox/std] Fix oxReturnError to not re-originate the Error --- deps/ox/src/ox/std/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/error.hpp b/deps/ox/src/ox/std/error.hpp index b8d15852..e604eec1 100644 --- a/deps/ox/src/ox/std/error.hpp +++ b/deps/ox/src/ox/std/error.hpp @@ -16,7 +16,7 @@ #define OxError(x) x #endif -#define oxReturnError(x) if (const auto err = x) return OxError(err) +#define oxReturnError(x) if (const auto err = x) return err namespace ox {