diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 14:39:03 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:46:56 +0900 |
commit | 0cc26526b243fd10d84ccda87852defd29631b39 (patch) | |
tree | 5269f95d5291f42a0c2ddd95328c16e7f1da182e | |
parent | fb979167127ffaaacec7361ecb45791bf542305f (diff) | |
download | libquotient-0cc26526b243fd10d84ccda87852defd29631b39.tar.gz libquotient-0cc26526b243fd10d84ccda87852defd29631b39.zip |
RedactionEvent: make the constructor explicit
-rw-r--r-- | lib/events/redactionevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/redactionevent.h b/lib/events/redactionevent.h index fa6902ab..829b9085 100644 --- a/lib/events/redactionevent.h +++ b/lib/events/redactionevent.h @@ -27,7 +27,7 @@ namespace QMatrixClient public: static constexpr const char* const TypeId = "m.room.redaction"; - RedactionEvent(const QJsonObject& obj) + explicit RedactionEvent(const QJsonObject& obj) : RoomEvent(Type::Redaction, obj) , _redactedEvent(obj.value("redacts").toString()) , _reason(contentJson().value("reason").toString()) |