Closed Bug 1508848 Opened 3 years ago Closed 3 years ago
Fix semantics of Windows
Bug 1508848: Remove operator bool from WindowsError and replace with IsSuccess and IsFailure methods; r=mhowell!
47 bytes, text/x-phabricator-request
|Details | Review|
operator bool isn't cutting it, because it isn't clear what that means. Does !error mean that there isn't an error or not? We're better off being explicit here.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/8b1b35582dd7 Remove operator bool from WindowsError and replace with IsSuccess and IsFailure methods; r=mhowell
You need to log in before you can comment on or make changes to this bug.