diff options
Diffstat (limited to 'netwerk/protocol/device/nsDeviceCaptureProvider.h')
-rw-r--r-- | netwerk/protocol/device/nsDeviceCaptureProvider.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/protocol/device/nsDeviceCaptureProvider.h b/netwerk/protocol/device/nsDeviceCaptureProvider.h index 024f6689d6..423ef231b8 100644 --- a/netwerk/protocol/device/nsDeviceCaptureProvider.h +++ b/netwerk/protocol/device/nsDeviceCaptureProvider.h @@ -23,9 +23,9 @@ struct nsCaptureParams { class nsDeviceCaptureProvider : public nsISupports { public: - virtual MOZ_MUST_USE nsresult Init(nsACString& aContentType, - nsCaptureParams* aParams, - nsIInputStream** aStream) = 0; + [[nodiscard]] virtual nsresult Init(nsACString& aContentType, + nsCaptureParams* aParams, + nsIInputStream** aStream) = 0; }; #endif |