aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/list_public_rooms.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-03 12:11:16 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-03 12:13:30 +0900
commit04c53826b0694dee38010b2f5116db6cf2e9b221 (patch)
treeafdb71dc626f81bcff85b87b75113a90abad356a /jobs/generated/list_public_rooms.cpp
parent0b5f0deb773f850d1b905fafc656f67f5b63de24 (diff)
downloadlibquotient-04c53826b0694dee38010b2f5116db6cf2e9b221.tar.gz
libquotient-04c53826b0694dee38010b2f5116db6cf2e9b221.zip
jobs/generated: Polish formatting; other minor cleanup
Diffstat (limited to 'jobs/generated/list_public_rooms.cpp')
-rw-r--r--jobs/generated/list_public_rooms.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/jobs/generated/list_public_rooms.cpp b/jobs/generated/list_public_rooms.cpp
index 8a96966f..d15e9de3 100644
--- a/jobs/generated/list_public_rooms.cpp
+++ b/jobs/generated/list_public_rooms.cpp
@@ -2,11 +2,8 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#include "list_public_rooms.h"
-#include "converters.h"
-
#include <QtCore/QStringBuilder>
using namespace QMatrixClient;
@@ -80,10 +77,7 @@ GetPublicRoomsJob::GetPublicRoomsJob(double limit, const QString& since, const Q
), d(new Private)
{ }
-GetPublicRoomsJob::~GetPublicRoomsJob()
-{
- delete d;
-}
+GetPublicRoomsJob::~GetPublicRoomsJob() = default;
const QVector<GetPublicRoomsJob::PublicRoomsChunk>& GetPublicRoomsJob::chunk() const
{
@@ -213,10 +207,7 @@ QueryPublicRoomsJob::QueryPublicRoomsJob(const QString& server, double limit, co
setRequestData(_data);
}
-QueryPublicRoomsJob::~QueryPublicRoomsJob()
-{
- delete d;
-}
+QueryPublicRoomsJob::~QueryPublicRoomsJob() = default;
const QVector<QueryPublicRoomsJob::PublicRoomsChunk>& QueryPublicRoomsJob::chunk() const
{