aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/voip.cpp
diff options
context:
space:
mode:
authorMarc Deop <marc@marcdeop.com>2019-03-02 12:26:57 +0100
committerMarc Deop <marc@marcdeop.com>2019-03-02 12:26:57 +0100
commitaacc4bcb4a487871daae6717f77605aaba444341 (patch)
tree4f50b6874821667ccb6b91c017e5d041e3846112 /lib/csapi/voip.cpp
parentc971b924cd62822ed6fb1a0291c483ae73a3ecda (diff)
downloadlibquotient-aacc4bcb4a487871daae6717f77605aaba444341.tar.gz
libquotient-aacc4bcb4a487871daae6717f77605aaba444341.zip
style: apply .clang-format to all .cpp and .h files
Diffstat (limited to 'lib/csapi/voip.cpp')
-rw-r--r--lib/csapi/voip.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/csapi/voip.cpp b/lib/csapi/voip.cpp
index e8158723..ee511906 100644
--- a/lib/csapi/voip.cpp
+++ b/lib/csapi/voip.cpp
@@ -15,34 +15,30 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
class GetTurnServerJob::Private
{
public:
- QJsonObject data;
+ QJsonObject data;
};
QUrl GetTurnServerJob::makeRequestUrl(QUrl baseUrl)
{
return BaseJob::makeRequestUrl(std::move(baseUrl),
- basePath % "/voip/turnServer");
+ basePath % "/voip/turnServer");
}
static const auto GetTurnServerJobName = QStringLiteral("GetTurnServerJob");
GetTurnServerJob::GetTurnServerJob()
: BaseJob(HttpVerb::Get, GetTurnServerJobName,
- basePath % "/voip/turnServer")
- , d(new Private)
+ basePath % "/voip/turnServer"),
+ d(new Private)
{
}
GetTurnServerJob::~GetTurnServerJob() = default;
-const QJsonObject& GetTurnServerJob::data() const
-{
- return d->data;
-}
+const QJsonObject& GetTurnServerJob::data() const { return d->data; }
BaseJob::Status GetTurnServerJob::parseJson(const QJsonDocument& data)
{
fromJson(data, d->data);
return Success;
}
-