From 90da39313fd59fddefbb94c8599c47e4a1d7b884 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 10 May 2022 03:53:35 +0200 Subject: Use right linter --- src/timeline/TimelineModel.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/timeline/TimelineModel.cpp') diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 1e0893b4..142ca793 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -1366,8 +1366,7 @@ struct SendMessageVisitor { explicit SendMessageVisitor(TimelineModel *model) : model_(model) - { - } + {} template void sendRoomEvent(mtx::events::RoomEvent msg) @@ -1391,8 +1390,7 @@ struct SendMessageVisitor // Do-nothing operator for all unhandled events template void operator()(const mtx::events::Event &) - { - } + {} // Operator for m.room.message events that contain a msgtype in their content template