Fix entity-manager issues against GCC8
move std::experimental::filesystem to std::filesystem, and fix an error
in a function that returns bool, but didn't contain a return statement.
Change-Id: Iaedfc5ea189fa5382e4b29be5854cb72915a742d
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 39e3794..176f7ef 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -15,13 +15,13 @@
*/
#pragma once
-#include <experimental/filesystem>
+#include "filesystem.hpp"
#include <nlohmann/json.hpp>
#include <sdbusplus/exception.hpp>
-bool findFiles(const std::experimental::filesystem::path &dirPath,
+bool findFiles(const std::filesystem::path &dirPath,
const std::string &matchString,
- std::vector<std::experimental::filesystem::path> &foundPaths);
+ std::vector<std::filesystem::path> &foundPaths);
bool validateJson(const nlohmann::json &schemaFile,
const nlohmann::json &input);