aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-03 10:47:48 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-03 11:23:07 +0900
commiteaca25fd5115ab00a29b7d47dfc6e16cbfd5e552 (patch)
tree7d9eb709c2a65c9e77dca52f3f66e4c4dcd2095d /lib/jobs
parentded46e7115cf9a3460a780f445a0c8ff22a628fa (diff)
downloadlibquotient-eaca25fd5115ab00a29b7d47dfc6e16cbfd5e552.tar.gz
libquotient-eaca25fd5115ab00a29b7d47dfc6e16cbfd5e552.zip
Roll various switch case fallthrough markers into a macro
Diffstat (limited to 'lib/jobs')
-rw-r--r--lib/jobs/syncjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/syncjob.cpp b/lib/jobs/syncjob.cpp
index f9f5666e..cbdc37b4 100644
--- a/lib/jobs/syncjob.cpp
+++ b/lib/jobs/syncjob.cpp
@@ -129,7 +129,7 @@ SyncRoomData::SyncRoomData(const QString& roomId_, JoinState joinState_,
case JoinState::Join:
ephemeral = load<Events>(room_, "ephemeral");
accountData = load<Events>(room_, "account_data");
- // [[fallthrough]]
+ FALLTHROUGH;
case JoinState::Leave:
{
timeline = load<RoomEvents>(room_, "timeline");