reader: do not include unused headers

these unused includes were identified by clangd. see
https://clangd.llvm.org/guides/include-cleaner#unused-include-warning
for more details on the "Unused include" warning.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#17036
This commit is contained in:
Kefu Chai
2024-01-29 18:14:32 +08:00
committed by Botond Dénes
parent 43094d2023
commit 819fc95a67
5 changed files with 2 additions and 6 deletions

View File

@@ -11,12 +11,12 @@
#include <seastar/util/bool_class.hh>
#include <seastar/core/future.hh>
#include <seastar/core/circular_buffer.hh>
#include <seastar/core/thread.hh>
#include "mutation/mutation_fragment_v2.hh"
#include "mutation/mutation.hh"
#include "mutation/mutation_consumer_concepts.hh"
#include "reader_permit.hh"
#include "utils/maybe_yield.hh"
using seastar::future;

View File

@@ -10,7 +10,6 @@
#include "schema/schema_fwd.hh"
#include <vector>
#include "dht/i_partitioner_fwd.hh"
#include "mutation/mutation_fragment_fwd.hh"
#include "readers/flat_mutation_reader_fwd.hh"
#include "readers/flat_mutation_reader_v2.hh"

View File

@@ -8,7 +8,6 @@
#pragma once
#include "schema/schema_fwd.hh"
#include <functional>
#include <seastar/core/future.hh>
#include "mutation/mutation_fragment_fwd.hh"

View File

@@ -18,7 +18,6 @@
#include "readers/foreign.hh"
#include "readers/multishard.hh"
#include "readers/mutation_source.hh"
#include "readers/queue.hh"
#include "schema/schema_registry.hh"
#include "locator/abstract_replication_strategy.hh"

View File

@@ -11,13 +11,12 @@
#include <seastar/core/do_with.hh>
#include <seastar/core/future-util.hh>
#include <seastar/core/metrics.hh>
#include <seastar/core/thread.hh>
#include <seastar/util/defer.hh>
#include "replica/memtable.hh"
#include <chrono>
#include <boost/version.hpp>
#include <sys/sdt.h>
#include "read_context.hh"
#include "replica/dirty_memory_manager.hh"
#include "real_dirty_memory_accounter.hh"
#include "readers/delegating_v2.hh"
#include "readers/forwardable_v2.hh"