aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/user_identifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/user_identifier.h')
-rw-r--r--lib/csapi/definitions/user_identifier.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/csapi/definitions/user_identifier.h b/lib/csapi/definitions/user_identifier.h
index 74e6ce2b..72a81677 100644
--- a/lib/csapi/definitions/user_identifier.h
+++ b/lib/csapi/definitions/user_identifier.h
@@ -8,14 +8,12 @@
#include <QtCore/QVariant>
-namespace Quotient
-{
+namespace Quotient {
// Data structures
/// Identification information for a user
-struct UserIdentifier
-{
+struct UserIdentifier {
/// The type of identification. See `Identifier types`_ for supported
/// values and additional property descriptions.
QString type;
@@ -25,8 +23,7 @@ struct UserIdentifier
};
template <>
-struct JsonObjectConverter<UserIdentifier>
-{
+struct JsonObjectConverter<UserIdentifier> {
static void dumpTo(QJsonObject& jo, const UserIdentifier& pod);
static void fillFrom(QJsonObject jo, UserIdentifier& pod);
};