summaryrefslogtreecommitdiffstats
path: root/src/Login.cc
diff options
context:
space:
mode:
authorBenjamin Saunders <ben.e.saunders@gmail.com>2017-11-05 13:04:55 -0800
committermujx <mujx@users.noreply.github.com>2017-11-05 23:04:55 +0200
commit5bd5555a51f52293853e4b4f5dc15dd1c7774538 (patch)
treee77e082ff0cd94f1543d64ff10be703c8b452e73 /src/Login.cc
parent4ccb5ed81f1787a3cca12e5ca705fad4e3fa8ca5 (diff)
Use C++11 braced list style (#121)
Diffstat (limited to 'src/Login.cc')
-rw-r--r--src/Login.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Login.cc b/src/Login.cc
index a9e303f9..ca41d019 100644
--- a/src/Login.cc
+++ b/src/Login.cc
@@ -39,10 +39,10 @@ LoginRequest::serialize() noexcept
#endif
QJsonObject body{
- { "type", "m.login.password" },
- { "user", user_ },
- { "password", password_ },
- { "initial_device_display_name", initialDeviceName },
+ {"type", "m.login.password"},
+ {"user", user_},
+ {"password", password_},
+ {"initial_device_display_name", initialDeviceName},
};
return QJsonDocument(body).toJson(QJsonDocument::Compact);