-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seastar: re-introduce compat::filesystem namespace
[Reverted in 307335a] Stop using boost::filesystem altogether and std::experimental::filesystem directly. Instead, define seastar::compat::filesystem as either std::filesystem, starting in C++17, or std::experimental::filesystem otherwise. Changes since c640d8f: - Base definition on c++ dialect rather than on --use-std-optional-variant-stringview - Consequently, does not modify this switch nor the respective STD_OPTIONAL_VARIANT_STRINGVIEW definition Signed-off-by: Benny Halevy <[email protected]> Message-Id: <[email protected]>
- Loading branch information
Showing
6 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include <experimental/filesystem> | ||
#include <seastar/util/std-compat.hh> | ||
#include <seastar/core/sstring.hh> | ||
|
||
namespace seastar { | ||
|
||
sstring read_first_line(std::experimental::filesystem::path sys_file); | ||
sstring read_first_line(compat::filesystem::path sys_file); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters