diff --git a/deps/oxlib/src/std/include/ox/std/error.hpp b/deps/oxlib/src/std/include/ox/std/error.hpp index 4e03a5dc..bc5266f5 100644 --- a/deps/oxlib/src/std/include/ox/std/error.hpp +++ b/deps/oxlib/src/std/include/ox/std/error.hpp @@ -352,7 +352,7 @@ struct [[nodiscard]] Result { if (error) { return {std::move(value), Error{pErrCode, pMsg, pSrc}}; } - return Error{}; + return {std::move(value)}; } constexpr Result reoriginate(