summaryrefslogtreecommitdiff
path: root/netwerk/protocol/data/nsDataChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/data/nsDataChannel.h')
-rw-r--r--netwerk/protocol/data/nsDataChannel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/protocol/data/nsDataChannel.h b/netwerk/protocol/data/nsDataChannel.h
index c986fba1e9..b5599f0909 100644
--- a/netwerk/protocol/data/nsDataChannel.h
+++ b/netwerk/protocol/data/nsDataChannel.h
@@ -20,9 +20,9 @@ public:
}
protected:
- virtual MOZ_MUST_USE nsresult OpenContentStream(bool async,
- nsIInputStream **result,
- nsIChannel** channel);
+ [[nodiscard]] virtual nsresult OpenContentStream(bool async,
+ nsIInputStream **result,
+ nsIChannel** channel);
};
#endif /* nsDataChannel_h___ */