diff options
-rw-r--r-- | events/roommessageevent.h | 2 | ||||
-rw-r--r-- | util.h | 4 |
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 @@ -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()); |