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

(synced from 9ab3543b32)
This commit is contained in:
2023-12-03 19:03:42 -06:00
parent f1cd21d27b
commit 58507857bc
+2 -2
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;
}