aboutsummaryrefslogtreecommitdiff
path: root/lib/events/redactionevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 14:39:03 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 20:46:56 +0900
commit0cc26526b243fd10d84ccda87852defd29631b39 (patch)
tree5269f95d5291f42a0c2ddd95328c16e7f1da182e /lib/events/redactionevent.h
parentfb979167127ffaaacec7361ecb45791bf542305f (diff)
downloadlibquotient-0cc26526b243fd10d84ccda87852defd29631b39.tar.gz
libquotient-0cc26526b243fd10d84ccda87852defd29631b39.zip
RedactionEvent: make the constructor explicit
Diffstat (limited to 'lib/events/redactionevent.h')
-rw-r--r--lib/events/redactionevent.h2
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())