Resolve Meson issues
This commit includes fixes in the repo:
1. Moving experimental filesystem to filesystem
2. Errors that meson identified
Signed-off-by: Ratan Gupta <ratankgupta31@gmail.com>
Change-Id: I93c77c2a434275c4da3ca4549919eaa55b57f481
diff --git a/snmp_client.hpp b/snmp_client.hpp
index b5b0eb2..bd3ab8e 100644
--- a/snmp_client.hpp
+++ b/snmp_client.hpp
@@ -5,7 +5,7 @@
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/object.hpp>
-#include <experimental/filesystem>
+#include <filesystem>
#include <string>
namespace phosphor
@@ -55,8 +55,7 @@
*/
Client(sdbusplus::bus::bus& bus, const char* objPath, ConfManager& parent) :
Ifaces(bus, objPath, true),
- id(std::stol(std::experimental::filesystem::path(objPath).filename())),
- parent(parent)
+ id(std::stol(std::filesystem::path(objPath).filename())), parent(parent)
{}
/** @brief Update the address of the object.