diff options
Diffstat (limited to 'uriloader/exthandler/mac/nsOSHelperAppService.h')
-rw-r--r-- | uriloader/exthandler/mac/nsOSHelperAppService.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uriloader/exthandler/mac/nsOSHelperAppService.h b/uriloader/exthandler/mac/nsOSHelperAppService.h index 7371e1f42d..05e71d4b1b 100644 --- a/uriloader/exthandler/mac/nsOSHelperAppService.h +++ b/uriloader/exthandler/mac/nsOSHelperAppService.h @@ -36,10 +36,10 @@ public: // platformAppPath --> a platform specific path to an application that we got out of the // rdf data source. This can be a mac file spec, a unix path or a windows path depending on the platform // aFile --> an nsIFile representation of that platform application path. - virtual MOZ_MUST_USE nsresult GetFileTokenForPath(const char16_t * platformAppPath, nsIFile ** aFile); + [[nodiscard]] virtual nsresult GetFileTokenForPath(const char16_t * platformAppPath, nsIFile ** aFile); - MOZ_MUST_USE nsresult OSProtocolHandlerExists(const char * aScheme, - bool * aHandlerExists); + [[nodiscard]] nsresult OSProtocolHandlerExists(const char * aScheme, + bool * aHandlerExists); private: uint32_t mPermissions; |