Allow direct typecasting of Result shim util class

This commit is contained in:
Dr. Chat 2015-07-11 18:14:33 -05:00
parent 601310c8bb
commit f0060f8335
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ class Result {
}
Result() = delete;
Result& operator=(const Result&) = delete;
operator T() const { return value_; }
private:
T value_;