summaryrefslogtreecommitdiff
path: root/netwerk/protocol/device/nsDeviceChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/device/nsDeviceChannel.h')
-rw-r--r--netwerk/protocol/device/nsDeviceChannel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/netwerk/protocol/device/nsDeviceChannel.h b/netwerk/protocol/device/nsDeviceChannel.h
index 8c3e447931..f58b2716b5 100644
--- a/netwerk/protocol/device/nsDeviceChannel.h
+++ b/netwerk/protocol/device/nsDeviceChannel.h
@@ -15,10 +15,10 @@ public:
nsDeviceChannel();
- MOZ_MUST_USE nsresult Init(nsIURI* uri);
- MOZ_MUST_USE nsresult OpenContentStream(bool aAsync,
- nsIInputStream **aStream,
- nsIChannel **aChannel) override;
+ [[nodiscard]] nsresult Init(nsIURI* uri);
+ [[nodiscard]] nsresult OpenContentStream(bool aAsync,
+ nsIInputStream **aStream,
+ nsIChannel **aChannel) override;
protected:
~nsDeviceChannel();