c++17: drop experimental::filesystem
Use the real filesystem library, and drop support for building with
experimental under c++14.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I730c0d6dce53b5e0aa0867cddb7f325cdb9b45fc
diff --git a/dump_offload.hpp b/dump_offload.hpp
index 2678061..8e10771 100644
--- a/dump_offload.hpp
+++ b/dump_offload.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <experimental/filesystem>
+#include <filesystem>
namespace phosphor
{
@@ -9,8 +9,6 @@
namespace offload
{
-namespace fs = std::experimental::filesystem;
-
/**
* @brief Kicks off the instructions to
* start offload of the dump using dbus
@@ -20,7 +18,8 @@
* @param[in] writePath[in] - path to write the dump file.
*
**/
-void requestOffload(fs::path file, uint32_t dumpId, std::string writePath);
+void requestOffload(std::filesystem::path file, uint32_t dumpId,
+ std::string writePath);
} // namespace offload
} // namespace dump