summaryrefslogtreecommitdiff
path: root/uriloader/exthandler/mac/nsMIMEInfoMac.h
diff options
context:
space:
mode:
Diffstat (limited to 'uriloader/exthandler/mac/nsMIMEInfoMac.h')
-rw-r--r--uriloader/exthandler/mac/nsMIMEInfoMac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/uriloader/exthandler/mac/nsMIMEInfoMac.h b/uriloader/exthandler/mac/nsMIMEInfoMac.h
index 298357f757..d301234c87 100644
--- a/uriloader/exthandler/mac/nsMIMEInfoMac.h
+++ b/uriloader/exthandler/mac/nsMIMEInfoMac.h
@@ -16,15 +16,15 @@ class nsMIMEInfoMac : public nsMIMEInfoImpl {
NS_IMETHOD LaunchWithFile(nsIFile* aFile);
protected:
- virtual MOZ_MUST_USE nsresult LoadUriInternal(nsIURI *aURI);
+ [[nodiscard]] virtual nsresult LoadUriInternal(nsIURI *aURI);
#ifdef DEBUG
- virtual MOZ_MUST_USE nsresult LaunchDefaultWithFile(nsIFile* aFile) {
+ [[nodiscard]] virtual nsresult LaunchDefaultWithFile(nsIFile* aFile) {
NS_NOTREACHED("do not call this method, use LaunchWithFile");
return NS_ERROR_UNEXPECTED;
}
#endif
- static MOZ_MUST_USE nsresult OpenApplicationWithURI(nsIFile *aApplication,
- const nsCString& aURI);
+ [[nodiscard]] static nsresult OpenApplicationWithURI(nsIFile *aApplication,
+ const nsCString& aURI);
NS_IMETHOD GetDefaultDescription(nsAString& aDefaultDescription);