From dce09b564c89699956b012592a3adc1e17e1a142 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 17 May 2026 15:19:13 -0500 Subject: [PATCH] [ox/std] Fix Result::originate to return value --- deps/oxlib/src/std/include/ox/std/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(