diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-03 20:10:14 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-03 22:47:47 +0900 |
commit | f3927ca0c16a61fcb0933333ecff8095917a5b47 (patch) | |
tree | e68d2fc1c19b2e3790086d3d6e43348a486fda69 /lib/jobs/generated/notifications.h | |
parent | 564d518c086f2aeab0f0466b7cd1915e20edc7da (diff) | |
download | libquotient-f3927ca0c16a61fcb0933333ecff8095917a5b47.tar.gz libquotient-f3927ca0c16a61fcb0933333ecff8095917a5b47.zip |
jobs/generated: Drop unused code
Diffstat (limited to 'lib/jobs/generated/notifications.h')
-rw-r--r-- | lib/jobs/generated/notifications.h | 4 |
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; |