From 3d67bb1e3d263056481112e44a1c18b04fbf5b7f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 2 Dec 2024 15:56:43 +0800 Subject: [PATCH] replica: do not include unused headers Signed-off-by: Kefu Chai --- replica/compaction_group.hh | 1 - replica/distributed_loader.hh | 4 ---- replica/exceptions.hh | 1 - replica/tablets.hh | 2 -- 4 files changed, 8 deletions(-) diff --git a/replica/compaction_group.hh b/replica/compaction_group.hh index 5970fac7d9b7..d9890829b8e0 100644 --- a/replica/compaction_group.hh +++ b/replica/compaction_group.hh @@ -8,7 +8,6 @@ #include #include -#include #include "database_fwd.hh" #include "compaction/compaction_descriptor.hh" diff --git a/replica/distributed_loader.hh b/replica/distributed_loader.hh index 3a4559ac4df2..4f2021eeae54 100644 --- a/replica/distributed_loader.hh +++ b/replica/distributed_loader.hh @@ -9,14 +9,10 @@ #pragma once -#include #include #include -#include -#include #include #include -#include #include "seastarx.hh" #include "compaction/compaction_descriptor.hh" #include "db/system_keyspace.hh" diff --git a/replica/exceptions.hh b/replica/exceptions.hh index 09302616805e..b843074fb5b8 100644 --- a/replica/exceptions.hh +++ b/replica/exceptions.hh @@ -15,7 +15,6 @@ #include #include #include -#include namespace replica { diff --git a/replica/tablets.hh b/replica/tablets.hh index 8e6bc6bd65ad..2b4ee1063b8a 100644 --- a/replica/tablets.hh +++ b/replica/tablets.hh @@ -9,8 +9,6 @@ #pragma once #include "types/types.hh" -#include "types/tuple.hh" -#include "types/list.hh" #include "timestamp.hh" #include "locator/tablets.hh" #include "schema/schema_fwd.hh"