diff options
Diffstat (limited to 'netwerk/sctp/datachannel/DataChannel.h')
-rw-r--r-- | netwerk/sctp/datachannel/DataChannel.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/netwerk/sctp/datachannel/DataChannel.h b/netwerk/sctp/datachannel/DataChannel.h index 33458e6c2b..02dca930c5 100644 --- a/netwerk/sctp/datachannel/DataChannel.h +++ b/netwerk/sctp/datachannel/DataChannel.h @@ -140,15 +140,14 @@ public: PARTIAL_RELIABLE_TIMED = 2 } Type; - MOZ_MUST_USE - already_AddRefed<DataChannel> Open(const nsACString& label, - const nsACString& protocol, - Type type, bool inOrder, - uint32_t prValue, - DataChannelListener *aListener, - nsISupports *aContext, - bool aExternalNegotiated, - uint16_t aStream); + [[nodiscard]] already_AddRefed<DataChannel> Open(const nsACString& label, + const nsACString& protocol, + Type type, bool inOrder, + uint32_t prValue, + DataChannelListener *aListener, + nsISupports *aContext, + bool aExternalNegotiated, + uint16_t aStream); void Close(DataChannel *aChannel); // CloseInt() must be called with mLock held |