diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-06-24 07:38:50 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-06-24 07:38:50 +0900 |
commit | 9e96bc9b8dec6613e3e2f2fd564e9f6bee9bbce4 (patch) | |
tree | 2a9492b74440f3cfd1d1a353dd9f678d7a6b09ed /lib/csapi/definitions/wellknown/identity_server.h | |
parent | 8d96901ff455e4072dd4b050cf9c17a5780bfacb (diff) | |
download | libquotient-9e96bc9b8dec6613e3e2f2fd564e9f6bee9bbce4.tar.gz libquotient-9e96bc9b8dec6613e3e2f2fd564e9f6bee9bbce4.zip |
csapi/*/**: clang-format contents of csapi subdirs as well
Diffstat (limited to 'lib/csapi/definitions/wellknown/identity_server.h')
-rw-r--r-- | lib/csapi/definitions/wellknown/identity_server.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/csapi/definitions/wellknown/identity_server.h b/lib/csapi/definitions/wellknown/identity_server.h index 4462f86e..a35644fc 100644 --- a/lib/csapi/definitions/wellknown/identity_server.h +++ b/lib/csapi/definitions/wellknown/identity_server.h @@ -4,11 +4,8 @@ #pragma once - - #include "converters.h" - namespace QMatrixClient { @@ -19,15 +16,13 @@ struct IdentityServerInformation { /// The base URL for the identity server for client-server connections. QString baseUrl; - - }; -template <> struct JsonObjectConverter<IdentityServerInformation> +template <> +struct JsonObjectConverter<IdentityServerInformation> { static void dumpTo(QJsonObject& jo, const IdentityServerInformation& pod); - static void fillFrom(const QJsonObject& jo, IdentityServerInformation& pod);}; - - + static void fillFrom(const QJsonObject& jo, IdentityServerInformation& pod); +}; } // namespace QMatrixClient |