diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-03 12:11:16 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:54:37 +0900 |
commit | f951ab8a931c68f61b9710a540b2c971bbf502ca (patch) | |
tree | fbd0375e5c77ffcea6a7251ff32747fb4ce56db5 /jobs/generated/list_public_rooms.cpp | |
parent | 8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (diff) | |
download | libquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.tar.gz libquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.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.cpp | 13 |
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 { |