diff options
-rw-r--r-- | jobs/syncjob.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h index e9288486..aed36e0b 100644 --- a/jobs/syncjob.h +++ b/jobs/syncjob.h @@ -58,12 +58,9 @@ namespace QMatrixClient SyncRoomData(const QString& roomId, JoinState joinState_, const QJsonObject& room_); + SyncRoomData(SyncRoomData&&) = default; + SyncRoomData& operator=(SyncRoomData&&) = default; }; -} // namespace QMatrixClient -Q_DECLARE_TYPEINFO(QMatrixClient::SyncRoomData, Q_MOVABLE_TYPE); - -namespace QMatrixClient -{ // QVector cannot work with non-copiable objects, std::vector can. using SyncDataList = std::vector<SyncRoomData>; |