aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 0c8f3640..09c58087 100644
--- a/util.h
+++ b/util.h
@@ -39,8 +39,8 @@ namespace QMatrixClient
{
public:
Owning() = default;
- Owning(Owning&) = delete;
- Owning(Owning&& other) = default;
+ Owning(const Owning&) = delete;
+ Owning(Owning&&) = default;
Owning& operator=(Owning&& other)
{
assign(other.release());