From f49d3d45451bf66237c3fc05a1ef8f77fcaec1e6 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 16 Jul 2018 21:35:42 +0900 Subject: Fix a clazy warning --- lib/jobs/requestdata.h | 2 ++ 1 file changed, 2 insertions(+) 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(source)) { } + RequestData(const RequestData&) = delete; + RequestData& operator=(const RequestData&) = delete; RequestData(RequestData&&) = default; RequestData& operator=(RequestData&&) = default; ~RequestData(); -- cgit v1.2.3