summaryrefslogtreecommitdiffstats
path: root/transporthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'transporthandler.cpp')
-rw-r--r--transporthandler.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/transporthandler.cpp b/transporthandler.cpp
index d56a064..8172cc4 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -8,6 +8,7 @@
#include <ipmid/api.h>
#include <chrono>
+#include <filesystem>
#include <fstream>
#include <ipmid/utils.hpp>
#include <phosphor-logging/elog-errors.hpp>
@@ -24,19 +25,6 @@
#include <systemd/sd-bus.h>
#endif
-#if __has_include(<filesystem>)
-#include <filesystem>
-#elif __has_include(<experimental/filesystem>)
-#include <experimental/filesystem>
-namespace std
-{
-// splice experimental::filesystem into std
-namespace filesystem = std::experimental::filesystem;
-} // namespace std
-#else
-#error filesystem not available
-#endif
-
// timer for network changes
std::unique_ptr<phosphor::Timer> networkTimer = nullptr;
OpenPOWER on IntegriCloud