aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/requestdata.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-16 21:35:42 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-16 21:35:42 +0900
commitf49d3d45451bf66237c3fc05a1ef8f77fcaec1e6 (patch)
tree29521e2afbeb354d8123b365795536fe3445773d /lib/jobs/requestdata.h
parent496e106083f3740d44716b96ed1b098d61df19eb (diff)
downloadlibquotient-f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6.tar.gz
libquotient-f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6.zip
Fix a clazy warning
Diffstat (limited to 'lib/jobs/requestdata.h')
-rw-r--r--lib/jobs/requestdata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/jobs/requestdata.h b/lib/jobs/requestdata.h
index aa03b744..db011b61 100644
--- a/lib/jobs/requestdata.h
+++ b/lib/jobs/requestdata.h
@@ -44,6 +44,8 @@ namespace QMatrixClient
RequestData(QIODevice* source)
: _source(std::unique_ptr<QIODevice>(source))
{ }
+ RequestData(const RequestData&) = delete;
+ RequestData& operator=(const RequestData&) = delete;
RequestData(RequestData&&) = default;
RequestData& operator=(RequestData&&) = default;
~RequestData();