filesystem is not experimental anymore since c++17
- filesystem is merged into the mainline ISO C++ standard
since C++ 17.
- As the minimum requirement for the project to compile is
mentioned as C++17, we can now safely remove the experimental
filesystem and use them directly instead.
- This would eliminate the stdc++fs dependency when migrated to
meson.
Tested By;
- Compiled in all sdks, and unit tests are passed.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Icd63297a533c56e2d1952e99e17ec71747bd0e39
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index f8086a4..7192e26 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -5,7 +5,7 @@
#include "xyz/openbmc_project/Network/IP/Create/server.hpp"
#include "xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp"
-#include <experimental/filesystem>
+#include <filesystem>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/object.hpp>
#include <string>
@@ -35,7 +35,7 @@
using ServerList = std::vector<std::string>;
using ObjectPath = sdbusplus::message::object_path;
-namespace fs = std::experimental::filesystem;
+namespace fs = std::filesystem;
class Manager; // forward declaration of network manager.