aboutsummaryrefslogtreecommitdiff
path: root/events
diff options
context:
space:
mode:
Diffstat (limited to 'events')
-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())
{ }