aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRam Nad <ramnad1999@gmail.com>2020-03-20 15:01:08 +0530
committerGitHub <noreply@github.com>2020-03-20 15:01:08 +0530
commitecdab8ba9d2f411e5cfb049866501f159725a3db (patch)
tree15b3570bf9cf9b21253b376c8bebb9385267b3b6
parent57ed7c21829347bd553a481becc6484164419c18 (diff)
downloadlibquotient-ecdab8ba9d2f411e5cfb049866501f159725a3db.tar.gz
libquotient-ecdab8ba9d2f411e5cfb049866501f159725a3db.zip
Make constructor explicit lib/events/roomcanonicalaliasevent.h
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net>
-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)
{ }