diff --git a/deps/ox/src/ox/std/error.hpp b/deps/ox/src/ox/std/error.hpp index ca6a6e9a..d85cde60 100644 --- a/deps/ox/src/ox/std/error.hpp +++ b/deps/ox/src/ox/std/error.hpp @@ -165,12 +165,12 @@ struct [[nodiscard]] Result { return error == 0; } - constexpr Error get(type *val) const noexcept { + constexpr Error copyTo(type *val) const noexcept { *val = value; return error; } - constexpr Error get(type *val) noexcept { + constexpr Error copyTo(type *val) noexcept { *val = value; return error; }