aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/requestdata.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-13 18:15:36 +0200
committerGitHub <noreply@github.com>2021-06-13 18:15:36 +0200
commitd20aa002c0dcb2b40bbf7b48c5c995a5ed8138c1 (patch)
tree713338c8bde5e6784bbdfcdee29cafc1f9eb36d4 /lib/jobs/requestdata.h
parent0571ba1fb1948a6cc050230a85201291ababbf04 (diff)
parent083f62f58bc525d761969133e12a859de9b29648 (diff)
downloadlibquotient-d20aa002c0dcb2b40bbf7b48c5c995a5ed8138c1.tar.gz
libquotient-d20aa002c0dcb2b40bbf7b48c5c995a5ed8138c1.zip
Merge pull request #480 from quotient-im/kitsune-qt6-compat
Qt 6 support
Diffstat (limited to 'lib/jobs/requestdata.h')
-rw-r--r--lib/jobs/requestdata.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/jobs/requestdata.h b/lib/jobs/requestdata.h
index 4958e0f9..21657631 100644
--- a/lib/jobs/requestdata.h
+++ b/lib/jobs/requestdata.h
@@ -24,8 +24,7 @@ public:
RequestData(const QByteArray& a = {});
RequestData(const QJsonObject& jo);
RequestData(const QJsonArray& ja);
- RequestData(QIODevice* source) : _source(std::unique_ptr<QIODevice>(source))
- {}
+ RequestData(QIODevice* source);
RequestData(RequestData&&) = default;
RequestData& operator=(RequestData&&) = default;
~RequestData();