Skip to content

Commit 0b4aaa9

Browse files
Apply pre-commit formatting fixes
clang-format and prettier auto-formatting adjustments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4023b4 commit 0b4aaa9

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/xrpld/rpc/ServerHandler.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ class ServerHandler
169169

170170
private:
171171
Json::Value
172-
processSession(
173-
std::shared_ptr<WSSession> const& session,
174-
Json::Value const& jv);
172+
processSession(std::shared_ptr<WSSession> const& session, Json::Value const& jv);
175173

176174
void
177175
processSession(std::shared_ptr<Session> const&);

src/xrpld/rpc/detail/ServerHandler.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
#include <xrpl/basics/base64.h>
1313
#include <xrpl/basics/contract.h>
1414
#include <xrpl/basics/make_SSLContext.h>
15-
#include <xrpl/core/CoroTask.h>
1615
#include <xrpl/beast/net/IPAddressConversion.h>
1716
#include <xrpl/beast/rfc2616.h>
17+
#include <xrpl/core/CoroTask.h>
1818
#include <xrpl/core/JobQueue.h>
1919
#include <xrpl/json/json_reader.h>
2020
#include <xrpl/json/to_string.h>
@@ -376,9 +376,7 @@ logDuration(Json::Value const& request, T const& duration, beast::Journal& journ
376376
}
377377

378378
Json::Value
379-
ServerHandler::processSession(
380-
std::shared_ptr<WSSession> const& session,
381-
Json::Value const& jv)
379+
ServerHandler::processSession(std::shared_ptr<WSSession> const& session, Json::Value const& jv)
382380
{
383381
auto is = std::static_pointer_cast<WSInfoSub>(session->appDefined);
384382
if (is->getConsumer().disconnect(m_journal))
@@ -516,8 +514,7 @@ ServerHandler::processSession(
516514
}
517515

518516
void
519-
ServerHandler::processSession(
520-
std::shared_ptr<Session> const& session)
517+
ServerHandler::processSession(std::shared_ptr<Session> const& session)
521518
{
522519
processRequest(
523520
session->port(),

0 commit comments

Comments
 (0)