diff --git a/deps/oxlib/src/std/include/ox/std/error.hpp b/deps/oxlib/src/std/include/ox/std/error.hpp index bc5266f5..d7ba928c 100644 --- a/deps/oxlib/src/std/include/ox/std/error.hpp +++ b/deps/oxlib/src/std/include/ox/std/error.hpp @@ -348,7 +348,7 @@ struct [[nodiscard]] Result { constexpr Result reoriginate( ErrorCode const pErrCode, CString const pMsg = nullptr, - std::source_location const &pSrc = std::source_location::current()) const && noexcept { + std::source_location const &pSrc = std::source_location::current()) && noexcept { if (error) { return {std::move(value), Error{pErrCode, pMsg, pSrc}}; } @@ -356,7 +356,7 @@ struct [[nodiscard]] Result { } constexpr Result reoriginate( - std::source_location const &pSrc = std::source_location::current()) const && noexcept { + std::source_location const &pSrc = std::source_location::current()) && noexcept { return {std::move(value), Error{error.errCode, error.msg, pSrc}}; }