Add implicit conversion for UniversalTResult

This commit is contained in:
Robbert van der Helm
2020-12-14 18:32:18 +01:00
parent 2becd420b2
commit cb7413c521
5 changed files with 44 additions and 62 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class UniversalTResult {
/**
* Get the native equivalent for the wrapped `tresult` value.
*/
tresult native() const;
operator tresult() const;
/**
* Get the original name for the result, e.g. `kResultOk`.