aboutsummaryrefslogtreecommitdiff
path: root/lib/syncdata.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:01:41 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:01:41 +0900
commite9ae0d5eaac12a276ea352f1e633fb22cdd46828 (patch)
tree363d19a40e0e82b43d90059a66bba86d4c6e0d4a /lib/syncdata.cpp
parenta3223e749d6f6c72b7c0ef638a1314d8bc77bc06 (diff)
downloadlibquotient-e9ae0d5eaac12a276ea352f1e633fb22cdd46828.tar.gz
libquotient-e9ae0d5eaac12a276ea352f1e633fb22cdd46828.zip
Now that we're C++17, remove old compatibility cruft
Diffstat (limited to 'lib/syncdata.cpp')
-rw-r--r--lib/syncdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syncdata.cpp b/lib/syncdata.cpp
index 5fcc8dda..5b47b30f 100644
--- a/lib/syncdata.cpp
+++ b/lib/syncdata.cpp
@@ -92,7 +92,7 @@ SyncRoomData::SyncRoomData(const QString& roomId_, JoinState joinState_,
switch (joinState) {
case JoinState::Join:
ephemeral = load<Events>(room_, "ephemeral"_ls);
- FALLTHROUGH;
+ [[fallthrough]];
case JoinState::Leave: {
accountData = load<Events>(room_, "account_data"_ls);
timeline = load<RoomEvents>(room_, "timeline"_ls);