#include "config_proxy.h"
-#if __has_include(<filesystem>)
#include <filesystem>
-#else
-#include <experimental/filesystem>
-#endif
#include "crimson/common/buffer_io.h"
-#if defined(__cpp_lib_filesystem)
-namespace fs = std::filesystem;
-#elif defined(__cpp_lib_experimental_filesystem)
-namespace fs = std::experimental::filesystem;
-#endif
-
namespace crimson::common {
ConfigProxy::ConfigProxy(const EntityName& name, std::string_view cluster)
return seastar::make_ready_future<seastar::stop_iteration>(
seastar::stop_iteration::yes);
});
- }).handle_exception_type([] (const fs::filesystem_error&) {
+ }).handle_exception_type([] (const std::filesystem::filesystem_error&) {
return seastar::make_ready_future<seastar::stop_iteration>(
seastar::stop_iteration::no);
}).handle_exception_type([] (const std::invalid_argument&) {