From f3927ca0c16a61fcb0933333ecff8095917a5b47 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 3 May 2018 20:10:14 +0900 Subject: jobs/generated: Drop unused code --- lib/jobs/generated/notifications.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/jobs/generated/notifications.h') 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 #include "events/event.h" #include #include @@ -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& notifications() const; + std::vector&& notifications(); protected: Status parseJson(const QJsonDocument& data) override; -- cgit v1.2.3