diff options
author | Ram Nad <ramnad1999@gmail.com> | 2020-03-20 15:01:55 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 15:01:55 +0530 |
commit | 153c1c66c7cc162920e5d4e4d902efcadf015d5b (patch) | |
tree | 8d089a49c8b3208c99408fe4d3c4b323e40e018b /lib/events/roomcanonicalaliasevent.h | |
parent | ecdab8ba9d2f411e5cfb049866501f159725a3db (diff) | |
download | libquotient-153c1c66c7cc162920e5d4e4d902efcadf015d5b.tar.gz libquotient-153c1c66c7cc162920e5d4e4d902efcadf015d5b.zip |
Make rvalue constructor explicit Update lib/events/roomcanonicalaliasevent.h
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net>
Diffstat (limited to 'lib/events/roomcanonicalaliasevent.h')
-rw-r--r-- | lib/events/roomcanonicalaliasevent.h | 2 |
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)) { } |