aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/events/roomcanonicalaliasevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roomcanonicalaliasevent.h b/lib/events/roomcanonicalaliasevent.h
index 012cac75..0c30db8b 100644
--- a/lib/events/roomcanonicalaliasevent.h
+++ b/lib/events/roomcanonicalaliasevent.h
@@ -57,7 +57,7 @@ public:
: StateEvent(typeId(), obj)
{ }
- RoomCanonicalAliasEvent(const QString& canonicalAlias, const QStringList& altAliases = {})
+ explicit RoomCanonicalAliasEvent(const QString& canonicalAlias, const QStringList& altAliases = {})
: StateEvent(typeId(), matrixTypeId(), QString(),
canonicalAlias, altAliases)
{ }