aboutsummaryrefslogtreecommitdiff
path: root/lib/user.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-02 19:59:40 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-02 19:59:40 +0900
commitc05ade838f0fce81f2bbe80a3295618a8a26ff52 (patch)
tree763340439a0f4034e9c829d76cb1ffe9766b83c5 /lib/user.cpp
parent1a1ea8fc87e827fa44c80ff30277e3bee62f4ebb (diff)
downloadlibquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.tar.gz
libquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.zip
Apply the new brace wrapping to source files
Diffstat (limited to 'lib/user.cpp')
-rw-r--r--lib/user.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/user.cpp b/lib/user.cpp
index f0216454..0705aee7 100644
--- a/lib/user.cpp
+++ b/lib/user.cpp
@@ -41,8 +41,7 @@ using namespace QMatrixClient;
using namespace std::placeholders;
using std::move;
-class User::Private
-{
+class User::Private {
public:
static Avatar makeAvatar(QUrl url) { return Avatar(move(url)); }
@@ -184,8 +183,7 @@ void User::Private::setAvatarForRoom(const Room* r, const QUrl& newUrl,
}
User::User(QString userId, Connection* connection)
- : QObject(connection)
- , d(new Private(move(userId), connection))
+ : QObject(connection), d(new Private(move(userId), connection))
{
setObjectName(userId);
}