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 New Issue