From a13f492e7d587ade54606a77c4e9f497a0fea737 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 22 Nov 2021 00:32:49 +0100 Subject: Make clang-format <13 and clang-format >=13 behave the same I think old clang-format is just buggy in those cases, so we should reenable those blocks, once everyone has 13 or up. --- src/voip/WebRTCSession.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/voip/WebRTCSession.cpp') diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp index a01b3a39..27e51d9e 100644 --- a/src/voip/WebRTCSession.cpp +++ b/src/voip/WebRTCSession.cpp @@ -1115,7 +1115,14 @@ WebRTCSession::haveLocalPiP() const return false; } -bool WebRTCSession::createOffer(webrtc::CallType, uint32_t) { return false; } +// clang-format off +// clang-format < 12 is buggy on this +bool +WebRTCSession::createOffer(webrtc::CallType, uint32_t) +{ + return false; +} +// clang-format on bool WebRTCSession::acceptOffer(const std::string &) -- cgit 1.5.1