summaryrefslogtreecommitdiff
path: root/netwerk/protocol/http/TunnelUtils.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-04 23:42:53 +0100
committerMoonchild <moonchild@palemoon.org>2023-11-08 13:49:30 +0100
commitd53992cc127fb85a63a23c01cd92347901bf2371 (patch)
tree9394328528e5bf3f8b04afcc8fdfd6580c51760d /netwerk/protocol/http/TunnelUtils.h
parent6f7a751520896b95c6eef986f841def329cdb20e (diff)
downloaduxp-d53992cc127fb85a63a23c01cd92347901bf2371.tar.gz
Issue #2342: Use [[nodiscard]] in /netwerk
Diffstat (limited to 'netwerk/protocol/http/TunnelUtils.h')
-rw-r--r--netwerk/protocol/http/TunnelUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/TunnelUtils.h b/netwerk/protocol/http/TunnelUtils.h
index 4a003082ec..2d56fb0932 100644
--- a/netwerk/protocol/http/TunnelUtils.h
+++ b/netwerk/protocol/http/TunnelUtils.h
@@ -122,7 +122,7 @@ public:
nsresult CommitToSegmentSize(uint32_t size, bool forceCommitment) override;
nsresult GetTransactionSecurityInfo(nsISupports **) override;
nsresult NudgeTunnel(NudgeTunnelCallback *callback);
- MOZ_MUST_USE nsresult SetProxiedTransaction(nsAHttpTransaction *aTrans,
+ [[nodiscard]] nsresult SetProxiedTransaction(nsAHttpTransaction *aTrans,
nsAHttpTransaction *aSpdyConnectTransaction = nullptr);
void newIODriver(nsIAsyncInputStream *aSocketIn,
nsIAsyncOutputStream *aSocketOut,