summaryrefslogtreecommitdiff
path: root/netwerk/sctp/datachannel/DataChannel.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
committerMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
commitdb4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch)
tree8036ebc434967a0cde3de705a16faea54d117bfd /netwerk/sctp/datachannel/DataChannel.h
parentc789882a294d29b3e5450a972ad67c4839c75e23 (diff)
parent9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff)
downloaduxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'netwerk/sctp/datachannel/DataChannel.h')
-rw-r--r--netwerk/sctp/datachannel/DataChannel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/sctp/datachannel/DataChannel.h b/netwerk/sctp/datachannel/DataChannel.h
index 02dca930c5..db0e2f7f75 100644
--- a/netwerk/sctp/datachannel/DataChannel.h
+++ b/netwerk/sctp/datachannel/DataChannel.h
@@ -544,7 +544,7 @@ public:
case ON_DISCONNECTED:
// If we've disconnected, make sure we close all the streams - from mainthread!
mConnection->CloseAll();
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case ON_CHANNEL_CREATED:
case ON_CONNECTION:
// WeakPtr - only used/modified/nulled from MainThread so we can use a WeakPtr here