From 99400d74bac1c8cf60794ea15a46692efb8cfe0f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 10:47:06 +0100 Subject: [PATCH] [CI] clang-tidy auto fixes (#1412) Fixes #1411. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss --- src/etl/ETLService.cpp | 2 +- src/etl/LoadBalancer.cpp | 2 +- src/etl/Source.cpp | 2 +- src/etl/impl/SubscriptionSource.cpp | 2 +- src/rpc/handlers/Subscribe.cpp | 1 - src/rpc/handlers/Unsubscribe.cpp | 1 - tests/unit/etl/SubscriptionSourceTests.cpp | 1 - 7 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/etl/ETLService.cpp b/src/etl/ETLService.cpp index 481e8990..f4fec87b 100644 --- a/src/etl/ETLService.cpp +++ b/src/etl/ETLService.cpp @@ -22,7 +22,7 @@ #include "data/BackendInterface.hpp" #include "data/LedgerCache.hpp" #include "etl/CorruptionDetector.hpp" -#include "etl/ETLHelpers.hpp" +#include "etl/NetworkValidatedLedgersInterface.hpp" #include "feed/SubscriptionManagerInterface.hpp" #include "util/Assert.hpp" #include "util/Constants.hpp" diff --git a/src/etl/LoadBalancer.cpp b/src/etl/LoadBalancer.cpp index fa653151..7e10bb4a 100644 --- a/src/etl/LoadBalancer.cpp +++ b/src/etl/LoadBalancer.cpp @@ -20,8 +20,8 @@ #include "etl/LoadBalancer.hpp" #include "data/BackendInterface.hpp" -#include "etl/ETLHelpers.hpp" #include "etl/ETLState.hpp" +#include "etl/NetworkValidatedLedgersInterface.hpp" #include "etl/Source.hpp" #include "feed/SubscriptionManagerInterface.hpp" #include "util/Assert.hpp" diff --git a/src/etl/Source.cpp b/src/etl/Source.cpp index accbe987..cd42dbe5 100644 --- a/src/etl/Source.cpp +++ b/src/etl/Source.cpp @@ -20,7 +20,7 @@ #include "etl/Source.hpp" #include "data/BackendInterface.hpp" -#include "etl/ETLHelpers.hpp" +#include "etl/NetworkValidatedLedgersInterface.hpp" #include "etl/impl/ForwardingSource.hpp" #include "etl/impl/GrpcSource.hpp" #include "etl/impl/SourceImpl.hpp" diff --git a/src/etl/impl/SubscriptionSource.cpp b/src/etl/impl/SubscriptionSource.cpp index 6cc8c113..39e055ff 100644 --- a/src/etl/impl/SubscriptionSource.cpp +++ b/src/etl/impl/SubscriptionSource.cpp @@ -19,7 +19,7 @@ #include "etl/impl/SubscriptionSource.hpp" -#include "etl/ETLHelpers.hpp" +#include "etl/NetworkValidatedLedgersInterface.hpp" #include "feed/SubscriptionManagerInterface.hpp" #include "rpc/JS.hpp" #include "util/Retry.hpp" diff --git a/src/rpc/handlers/Subscribe.cpp b/src/rpc/handlers/Subscribe.cpp index 41c25d8d..77ddbd4b 100644 --- a/src/rpc/handlers/Subscribe.cpp +++ b/src/rpc/handlers/Subscribe.cpp @@ -39,7 +39,6 @@ #include #include #include -#include #include #include diff --git a/src/rpc/handlers/Unsubscribe.cpp b/src/rpc/handlers/Unsubscribe.cpp index 0c516669..1f012743 100644 --- a/src/rpc/handlers/Unsubscribe.cpp +++ b/src/rpc/handlers/Unsubscribe.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include diff --git a/tests/unit/etl/SubscriptionSourceTests.cpp b/tests/unit/etl/SubscriptionSourceTests.cpp index 7faf8ff4..fa2503cb 100644 --- a/tests/unit/etl/SubscriptionSourceTests.cpp +++ b/tests/unit/etl/SubscriptionSourceTests.cpp @@ -31,7 +31,6 @@ #include #include -#include #include #include #include