From 2f40cde7f50f89f94edad6c4ce07ecd729c0a7e4 Mon Sep 17 00:00:00 2001 From: cyan317 <120398799+cindyyan317@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:43:21 +0100 Subject: [PATCH] chore: Remove unused static variables (#1683) --- src/rpc/handlers/AccountObjects.hpp | 4 ---- src/rpc/handlers/LedgerData.hpp | 1 - 2 files changed, 5 deletions(-) diff --git a/src/rpc/handlers/AccountObjects.hpp b/src/rpc/handlers/AccountObjects.hpp index 6b695a83..c52f94f9 100644 --- a/src/rpc/handlers/AccountObjects.hpp +++ b/src/rpc/handlers/AccountObjects.hpp @@ -55,10 +55,6 @@ class AccountObjectsHandler { // dependencies std::shared_ptr sharedPtrBackend_; - // constants - static std::unordered_map const TYPES_MAP; - static std::unordered_set const TYPES_KEYS; - public: static auto constexpr LIMIT_MIN = 10; static auto constexpr LIMIT_MAX = 400; diff --git a/src/rpc/handlers/LedgerData.hpp b/src/rpc/handlers/LedgerData.hpp index ccbce3c1..1932f684 100644 --- a/src/rpc/handlers/LedgerData.hpp +++ b/src/rpc/handlers/LedgerData.hpp @@ -43,7 +43,6 @@ #include #include #include -#include namespace rpc {