[ox/std] Rename Result::get to Result::copyTo

This commit is contained in:
Gary Talent 2023-12-03 19:03:42 -06:00
parent d16bbef282
commit 9ab3543b32

View File

@ -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;
}