From d53992cc127fb85a63a23c01cd92347901bf2371 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 4 Nov 2023 23:42:53 +0100 Subject: Issue #2342: Use [[nodiscard]] in /netwerk --- netwerk/protocol/http/TunnelUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netwerk/protocol/http/TunnelUtils.h') 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, -- cgit v1.2.3