aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.h')
-rw-r--r--jobs/syncjob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h
index 80cc6735..2ded0df3 100644
--- a/jobs/syncjob.h
+++ b/jobs/syncjob.h
@@ -87,7 +87,7 @@ namespace QMatrixClient
const QString& filter = {},
int timeout = -1, const QString& presence = {});
- SyncData &data() { return d; }
+ SyncData &&takeData() { return std::move(d); }
protected:
Status parseJson(const QJsonDocument& data) override;