Skip to content

Commit 31c5916

Browse files
committed
Fix formatting
1 parent 681154c commit 31c5916

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/xrpld/app/misc/NetworkOPs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ class NetworkOPsImp final : public NetworkOPs
408408
isFull() override;
409409

410410
void
411-
setMode(OperatingMode om, const char* reason) override;
411+
setMode(OperatingMode om, char const* reason) override;
412412

413413
bool
414414
isBlocked() override;
@@ -2530,7 +2530,7 @@ NetworkOPsImp::pubPeerStatus(std::function<Json::Value(void)> const& func)
25302530
}
25312531

25322532
void
2533-
NetworkOPsImp::setMode(OperatingMode om, const char* reason)
2533+
NetworkOPsImp::setMode(OperatingMode om, char const* reason)
25342534
{
25352535
using namespace std::chrono_literals;
25362536
if (om == OperatingMode::CONNECTED)

src/xrpld/app/misc/NetworkOPs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class NetworkOPs : public InfoSub::Source
191191
virtual bool
192192
isFull() = 0;
193193
virtual void
194-
setMode(OperatingMode om, const char* reason) = 0;
194+
setMode(OperatingMode om, char const* reason) = 0;
195195
virtual bool
196196
isBlocked() = 0;
197197
virtual bool

0 commit comments

Comments
 (0)