aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.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/jobs/basejob.cpp
parent1a1ea8fc87e827fa44c80ff30277e3bee62f4ebb (diff)
downloadlibquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.tar.gz
libquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.zip
Apply the new brace wrapping to source files
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r--lib/jobs/basejob.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index e4a74954..a6471ece 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -32,8 +32,7 @@
using namespace QMatrixClient;
-struct NetworkReplyDeleter : public QScopedPointerDeleteLater
-{
+struct NetworkReplyDeleter : public QScopedPointerDeleteLater {
static inline void cleanup(QNetworkReply* reply)
{
if (reply && reply->isRunning())
@@ -42,8 +41,7 @@ struct NetworkReplyDeleter : public QScopedPointerDeleteLater
}
};
-class BaseJob::Private
-{
+class BaseJob::Private {
public:
// Using an idiom from clang-tidy:
// http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html