aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/roommessageevent.h2
-rw-r--r--util.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/events/roommessageevent.h b/events/roommessageevent.h
index 74e0defb..ad413943 100644
--- a/events/roommessageevent.h
+++ b/events/roommessageevent.h
@@ -76,7 +76,7 @@ namespace QMatrixClient
protected:
using Base::Base;
- virtual void fillInfoJson(QJsonObject* infoJson) const { }
+ virtual void fillInfoJson(QJsonObject* /*infoJson*/) const { }
};
} // namespace MessageEventContent
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());