Skip to content

Commit

Permalink
include/seastar: do not include unused headers
Browse files Browse the repository at this point in the history
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 <[email protected]>

Closes scylladb#2300
  • Loading branch information
tchaikov authored and nyh committed Jun 19, 2024
1 parent 53e33e0 commit 908ccd9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion include/seastar/http/handlers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <seastar/http/exception.hh>
#include <seastar/http/reply.hh>

#include <unordered_map>

namespace seastar {

Expand Down
5 changes: 0 additions & 5 deletions include/seastar/http/httpd.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
#pragma once

#ifndef SEASTAR_MODULE
#include <iostream>
#include <algorithm>
#include <unordered_map>
#include <queue>
#include <bitset>
#include <limits>
#include <cctype>
#include <vector>
Expand Down
2 changes: 0 additions & 2 deletions include/seastar/http/json_path.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

#ifndef SEASTAR_MODULE
#include <vector>
#include <unordered_map>
#include <tuple>
#endif

#include <seastar/http/common.hh>
Expand Down
2 changes: 0 additions & 2 deletions include/seastar/http/request.hh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@

#include <seastar/core/iostream.hh>
#include <seastar/core/sstring.hh>
#include <string>
#include <vector>
#include <strings.h>
#include <seastar/http/common.hh>
#include <seastar/http/mime_types.hh>
Expand Down

0 comments on commit 908ccd9

Please sign in to comment.