use filesystem instead of experimental
Use filesystem now that it should be available instead of
experimental::filesystem.
Change-Id: I62838b343ce34f85a47661f1eaaff3c7e6338bbf
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/targets.hpp b/targets.hpp
index 9e63351..540338c 100644
--- a/targets.hpp
+++ b/targets.hpp
@@ -5,7 +5,7 @@
#include "fan_speed.hpp"
#include "hwmonio.hpp"
-#include <experimental/filesystem>
+#include <filesystem>
#include <memory>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
@@ -68,7 +68,7 @@
const std::string& devPath, ObjectInfo& info)
{
std::shared_ptr<T> target;
- namespace fs = std::experimental::filesystem;
+ namespace fs = std::filesystem;
auto& obj = std::get<Object>(info);
auto& objPath = std::get<std::string>(info);