Skip to content

Commit

Permalink
std-compat: remove #include:s which were added for pre C++17
Browse files Browse the repository at this point in the history
these `#include`s were introduced by 0bbcbba and 79e846e, for backward
compatibility with pre-C++17 era. since we've dropped C++17 support,
and now only support C++20 and up. let's remove these cruft.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed May 21, 2024
1 parent 67a14f9 commit a1044a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion include/seastar/util/read_first_line.hh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <seastar/util/std-compat.hh>
#include <filesystem>
#include <seastar/core/sstring.hh>
#ifndef SEASTAR_MODULE
#include <boost/lexical_cast.hpp>
Expand Down
6 changes: 0 additions & 6 deletions include/seastar/util/std-compat.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@

#ifndef SEASTAR_MODULE

#include <optional>
#include <string_view>
#include <variant>

#include <filesystem>

#if __has_include(<memory_resource>)
#include <memory_resource>
#else
Expand Down

0 comments on commit a1044a6

Please sign in to comment.