Replace std::experimental::filesystem with std::filesystem
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I91d2f1b7a8858ba8c676b68693863bb35b56dffc
diff --git a/powercap.hpp b/powercap.hpp
index 212c1c2..58070ba 100644
--- a/powercap.hpp
+++ b/powercap.hpp
@@ -8,7 +8,7 @@
#include <sdbusplus/bus.hpp>
#include <sdbusplus/bus/match.hpp>
-#include <experimental/filesystem>
+#include <filesystem>
namespace open_power
{
@@ -99,8 +99,7 @@
*
* @return std::string - The filename, or empty string if not found.
*/
- std::string
- getPcapFilename(const std::experimental::filesystem::path& path);
+ std::string getPcapFilename(const std::filesystem::path& path);
/** @brief The master occ name */
std::string occMasterName;