mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 05:27:51 -05:00
ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
This commit is contained in:
@ -398,10 +398,6 @@ public:
|
||||
return std::move(**this);
|
||||
}
|
||||
|
||||
T&& MoveFrom() {
|
||||
return std::move(Unwrap());
|
||||
}
|
||||
|
||||
private:
|
||||
// A union is used to allocate the storage for the value, while allowing us to construct and
|
||||
// destruct it at will.
|
||||
|
Reference in New Issue
Block a user