aboutsummaryrefslogtreecommitdiff
path: root/events/accountdataevents.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-05 11:44:00 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-05 16:15:01 +0900
commitf9cd6410623b7ddebf97e248584d1a8e838b4da8 (patch)
treeebd9e39f85b2d7586d4b0e713cf65003935a3945 /events/accountdataevents.h
parentfcf335e202a49c62be29566daf233866cd2f3584 (diff)
downloadlibquotient-f9cd6410623b7ddebf97e248584d1a8e838b4da8.tar.gz
libquotient-f9cd6410623b7ddebf97e248584d1a8e838b4da8.zip
Room: addTag() and removeTag()
Slightly changed TagRecord constructors to match.
Diffstat (limited to 'events/accountdataevents.h')
-rw-r--r--events/accountdataevents.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/events/accountdataevents.h b/events/accountdataevents.h
index 78cf9c46..f3ba27bb 100644
--- a/events/accountdataevents.h
+++ b/events/accountdataevents.h
@@ -30,8 +30,8 @@ namespace QMatrixClient
struct TagRecord
{
- TagRecord (QString order) : order(std::move(order)) { }
- explicit TagRecord(const QJsonValue& jv = {})
+ TagRecord (QString order = {}) : order(std::move(order)) { }
+ explicit TagRecord(const QJsonValue& jv)
: order(jv.toObject().value("order").toString())
{ }