diff --git a/deps/ox/src/ox/std/error.hpp b/deps/ox/src/ox/std/error.hpp index 67e3d060..dd17503b 100644 --- a/deps/ox/src/ox/std/error.hpp +++ b/deps/ox/src/ox/std/error.hpp @@ -131,7 +131,7 @@ struct [[nodiscard]] Result { constexpr Result(const type &value, const Error &error = OxError(0)) noexcept: value(const_cast(value)), error(error) { } - constexpr Result(type &&value, const Error &error = OxError(0)) noexcept: value(std::move(value)), error(error) { + constexpr Result(type &&value, const Error &error = OxError(0)) noexcept: value(ox::forward(value)), error(error) { } explicit constexpr operator const type&() const noexcept {