[ox/std] Fix oxReturnError to not re-originate the Error
This commit is contained in:
parent
a1b8de0cb0
commit
f12de38211
2
deps/ox/src/ox/std/error.hpp
vendored
2
deps/ox/src/ox/std/error.hpp
vendored
@ -16,7 +16,7 @@
|
|||||||
#define OxError(x) x
|
#define OxError(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define oxReturnError(x) if (const auto err = x) return OxError(err)
|
#define oxReturnError(x) if (const auto err = x) return err
|
||||||
|
|
||||||
namespace ox {
|
namespace ox {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user