From 734f0957fb8bc06ae6e5105d878f1b7007ce8b5d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 11 Nov 2023 14:27:03 +0100 Subject: Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]] Basically a S&R. Removed the macro and adjusts IDL codegen accordingly. --- netwerk/protocol/websocket/WebSocketChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netwerk/protocol/websocket/WebSocketChannel.cpp') diff --git a/netwerk/protocol/websocket/WebSocketChannel.cpp b/netwerk/protocol/websocket/WebSocketChannel.cpp index 9fca09a087..d645a96afd 100644 --- a/netwerk/protocol/websocket/WebSocketChannel.cpp +++ b/netwerk/protocol/websocket/WebSocketChannel.cpp @@ -2153,7 +2153,7 @@ WebSocketChannel::PrimeNewOutgoingMessage() msgType = kMsgTypeBinaryString; // no break: fall down into binary string case - MOZ_FALLTHROUGH; + [[fallthrough]]; case kMsgTypeBinaryString: mOutHeader[0] = kFinalFragBit | nsIWebSocketFrame::OPCODE_BINARY; -- cgit v1.2.3