Switch to clang-format14

This commit is contained in:
Nicolas Werner 2022-09-25 20:05:08 +02:00
parent 951d0f4d23
commit 851333a50d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
31 changed files with 77 additions and 40 deletions

View file

@ -1467,7 +1467,8 @@ struct SendMessageVisitor
{
explicit SendMessageVisitor(TimelineModel *model)
: model_(model)
{}
{
}
template<typename T, mtx::events::EventType Event>
void sendRoomEvent(mtx::events::RoomEvent<T> msg)
@ -1491,7 +1492,8 @@ struct SendMessageVisitor
// Do-nothing operator for all unhandled events
template<typename T>
void operator()(const mtx::events::Event<T> &)
{}
{
}
// Operator for m.room.message events that contain a msgtype in their content
template<typename T,