aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/notifications.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/generated/notifications.h')
-rw-r--r--lib/jobs/generated/notifications.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/jobs/generated/notifications.h b/lib/jobs/generated/notifications.h
index 798b9576..d66e15be 100644
--- a/lib/jobs/generated/notifications.h
+++ b/lib/jobs/generated/notifications.h
@@ -6,7 +6,6 @@
#include "../basejob.h"
-#include <vector>
#include "events/event.h"
#include <QtCore/QJsonObject>
#include <QtCore/QVector>
@@ -30,7 +29,6 @@ namespace QMatrixClient
bool read;
QString roomId;
qint64 ts;
-
};
// End of inner data structures
@@ -46,7 +44,7 @@ namespace QMatrixClient
~GetNotificationsJob() override;
const QString& nextToken() const;
- const std::vector<Notification>& notifications() const;
+ std::vector<Notification>&& notifications();
protected:
Status parseJson(const QJsonDocument& data) override;