diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-16 21:35:42 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-16 21:35:42 +0900 |
commit | f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6 (patch) | |
tree | 29521e2afbeb354d8123b365795536fe3445773d | |
parent | 496e106083f3740d44716b96ed1b098d61df19eb (diff) | |
download | libquotient-f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6.tar.gz libquotient-f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6.zip |
Fix a clazy warning
-rw-r--r-- | lib/jobs/requestdata.h | 2 |
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(); |