mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Allow direct typecasting of Result shim util class
This commit is contained in:
parent
601310c8bb
commit
f0060f8335
|
|
@ -280,6 +280,7 @@ class Result {
|
|||
}
|
||||
Result() = delete;
|
||||
Result& operator=(const Result&) = delete;
|
||||
operator T() const { return value_; }
|
||||
|
||||
private:
|
||||
T value_;
|
||||
|
|
|
|||
Loading…
Reference in a new issue