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/timeline/TimelineModel.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/timeline/TimelineModel.cpp') diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index aa7a68f3..4a81b243 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -126,43 +126,43 @@ struct RoomEventType { return qml_mtx_events::EventType::VideoMessage; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationRequest; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationStart; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationMac; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationAccept; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationReady; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationCancel; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationKey; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::KeyVerificationDone; } @@ -182,8 +182,8 @@ struct RoomEventType { return qml_mtx_events::EventType::CallHangUp; } - qml_mtx_events::EventType operator()( - const mtx::events::Event &) + qml_mtx_events::EventType + operator()(const mtx::events::Event &) { return qml_mtx_events::EventType::CallCandidates; } -- cgit 1.5.1