diff options
Diffstat (limited to 'netwerk/protocol/data/nsDataHandler.h')
-rw-r--r-- | netwerk/protocol/data/nsDataHandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/netwerk/protocol/data/nsDataHandler.h b/netwerk/protocol/data/nsDataHandler.h index 75f873e174..3c4adbffa3 100644 --- a/netwerk/protocol/data/nsDataHandler.h +++ b/netwerk/protocol/data/nsDataHandler.h @@ -24,18 +24,18 @@ public: nsDataHandler(); // Define a Create method to be used with a factory: - static MOZ_MUST_USE nsresult + [[nodiscard]] static nsresult Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult); // Parse a data: URI and return the individual parts // (the given spec will temporarily be modified but will be returned // to the original before returning) // contentCharset and dataBuffer can be nullptr if they are not needed. - static MOZ_MUST_USE nsresult ParseURI(nsCString& spec, - nsCString& contentType, - nsCString* contentCharset, - bool& isBase64, - nsCString* dataBuffer); + [[nodiscard]] static nsresult ParseURI(nsCString& spec, + nsCString& contentType, + nsCString* contentCharset, + bool& isBase64, + nsCString* dataBuffer); }; #endif /* nsDataHandler_h___ */ |