types: 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#18326
This commit is contained in:
Kefu Chai
2024-01-31 13:05:16 +08:00
committed by Pavel Emelyanov
parent 4445ee9a55
commit e2d5054c53
6 changed files with 3 additions and 7 deletions

View File

@@ -12,6 +12,7 @@
#include "cql3/column_identifier.hh"
#include "cql3/expr/evaluate.hh"
#include "cql3/expr/expr-utils.hh"
#include "exceptions/exceptions.hh"
#include <optional>
namespace cql3 {

View File

@@ -11,6 +11,7 @@
#include "cql3/prepare_context.hh"
#include "cql3/column_identifier.hh"
#include "cql3/column_specification.hh"
#include "exceptions/exceptions.hh"
namespace cql3 {

View File

@@ -10,15 +10,10 @@
#include <seastar/core/shared_ptr.hh>
#include <seastar/core/sstring.hh>
#include <vector>
#include "types/types.hh"
#include "collection_mutation.hh"
#include "utils/chunked_vector.hh"
#include "schema/schema_fwd.hh"
#include "log.hh"
#include "exceptions/exceptions.hh"
namespace cql3 {
class column_specification;

View File

@@ -13,6 +13,7 @@
#include <vector>
#include <utility>
#include "exceptions/exceptions.hh"
#include "types/types.hh"
#include "types/collection.hh"

View File

@@ -8,7 +8,6 @@
#include <boost/lexical_cast.hpp>
#include <algorithm>
#include <cinttypes>
#include "cql3/cql3_type.hh"
#include "cql3/lists.hh"
#include "cql3/maps.hh"

View File

@@ -11,7 +11,6 @@
#include <optional>
#include <boost/functional/hash.hpp>
#include <iosfwd>
#include <sstream>
#include <initializer_list>
#include <unordered_set>