summaryrefslogtreecommitdiffstats
path: root/selutility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'selutility.cpp')
-rw-r--r--selutility.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/selutility.cpp b/selutility.cpp
index 9edc1b8..3aecb1c 100644
--- a/selutility.cpp
+++ b/selutility.cpp
@@ -5,25 +5,13 @@
#include <ipmid/api.h>
#include <chrono>
+#include <filesystem>
#include <ipmid/types.hpp>
#include <ipmid/utils.hpp>
#include <phosphor-logging/elog-errors.hpp>
#include <vector>
#include <xyz/openbmc_project/Common/error.hpp>
-#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
-
extern const ipmi::sensor::InvObjectIDMap invSensors;
using namespace phosphor::logging;
using InternalFailure =
OpenPOWER on IntegriCloud