From 4111382a31c64abd259975d1d4324c23ccd5c212 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Wed, 28 Jun 2023 16:23:12 -0400 Subject: [PATCH] Fix build references to deleted ServerHandlerImp: (#4592) * Commits 0b812cd (#4427) and 11e914f (#4516) conflict. The first added references to `ServerHandlerImp` in files outside of that class's organizational unit (which is technically incorrect). The second removed `ServerHandlerImp`, but was not up to date with develop. This results in the build failing. * Fixes the build by changing references to `ServerHandlerImp` to the more correct `ServerHandler`. --- src/ripple/app/main/Application.cpp | 2 +- src/ripple/app/main/Application.h | 4 ++-- src/ripple/app/misc/NetworkOPs.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ripple/app/main/Application.cpp b/src/ripple/app/main/Application.cpp index 8ed328df44..42bf6d66c9 100644 --- a/src/ripple/app/main/Application.cpp +++ b/src/ripple/app/main/Application.cpp @@ -602,7 +602,7 @@ public: return *m_networkOPs; } - virtual ServerHandlerImp& + virtual ServerHandler& getServerHandler() override { assert(serverHandler_); diff --git a/src/ripple/app/main/Application.h b/src/ripple/app/main/Application.h index d2ba8f7cc7..67343852b6 100644 --- a/src/ripple/app/main/Application.h +++ b/src/ripple/app/main/Application.h @@ -89,7 +89,7 @@ class Overlay; class PathRequests; class PendingSaves; class PublicKey; -class ServerHandlerImp; +class ServerHandler; class SecretKey; class STLedgerEntry; class TimeKeeper; @@ -232,7 +232,7 @@ public: getOPs() = 0; virtual OrderBookDB& getOrderBookDB() = 0; - virtual ServerHandlerImp& + virtual ServerHandler& getServerHandler() = 0; virtual TransactionMaster& getMasterTransaction() = 0; diff --git a/src/ripple/app/misc/NetworkOPs.cpp b/src/ripple/app/misc/NetworkOPs.cpp index 6f51f81105..79cd857b78 100644 --- a/src/ripple/app/misc/NetworkOPs.cpp +++ b/src/ripple/app/misc/NetworkOPs.cpp @@ -64,8 +64,8 @@ #include #include #include +#include #include -#include #include #include