From c0bbbb2b38873cf7bb229fd8353b14ed258c64c3 Mon Sep 17 00:00:00 2001 From: JCW Date: Wed, 4 Feb 2026 13:26:32 +0000 Subject: [PATCH] Fix build errors Signed-off-by: JCW --- include/xrpl/core/StartUpType.h | 5 +---- src/xrpld/app/main/Application.h | 12 ------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/include/xrpl/core/StartUpType.h b/include/xrpl/core/StartUpType.h index 5c199aed05..74a1898806 100644 --- a/include/xrpl/core/StartUpType.h +++ b/include/xrpl/core/StartUpType.h @@ -1,5 +1,4 @@ -#ifndef XRPL_STARTUPTYPE_H -#define XRPL_STARTUPTYPE_H +#pragma once #include #include @@ -15,5 +14,3 @@ operator<<(std::ostream& os, StartUpType const& type) } } // namespace xrpl - -#endif // XRPL_STARTUPTYPE_H diff --git a/src/xrpld/app/main/Application.h b/src/xrpld/app/main/Application.h index 820851da00..5ecc84c11c 100644 --- a/src/xrpld/app/main/Application.h +++ b/src/xrpld/app/main/Application.h @@ -112,8 +112,6 @@ public: public: Application(); - virtual ~Application() = default; - virtual bool setup(boost::program_options::variables_map const& options) = 0; @@ -127,8 +125,6 @@ public: checkSigs() const = 0; virtual void checkSigs(bool) = 0; - virtual bool - isStopping() const = 0; // // --- @@ -138,14 +134,9 @@ public: virtual std::uint64_t instanceID() const = 0; - virtual Logs& - logs() = 0; virtual Config& config() = 0; - virtual boost::asio::io_context& - getIOContext() = 0; - virtual std::pair const& nodeIdentity() = 0; @@ -158,9 +149,6 @@ public: virtual bool serverOkay(std::string& reason) = 0; - virtual beast::Journal - journal(std::string const& name) = 0; - /* Returns the number of file descriptors the application needs */ virtual int fdRequired() const = 0;