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 0c30db8b..311a5959 100644
--- a/lib/events/roomcanonicalaliasevent.h
+++ b/lib/events/roomcanonicalaliasevent.h
@@ -62,7 +62,7 @@ public:
canonicalAlias, altAliases)
{ }
- RoomCanonicalAliasEvent(QString&& canonicalAlias, QStringList&& altAliases = {})
+ explicit RoomCanonicalAliasEvent(QString&& canonicalAlias, QStringList&& altAliases = {})
: StateEvent(typeId(), matrixTypeId(), QString(),
std::move(canonicalAlias), std::move(altAliases))
{ }