switch experimental::fs to std::fs
std::filesystem was added to C++17 and is well supported now. Remove
the older std::experimental::filesystem usage.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6d1ef0f3ac02954ddbffc332393fa11930dffad7
diff --git a/vpnor/partition.hpp b/vpnor/partition.hpp
index 6b6d46b..e74dd35 100644
--- a/vpnor/partition.hpp
+++ b/vpnor/partition.hpp
@@ -12,7 +12,7 @@
#include <fcntl.h>
#include <unistd.h>
-#include <experimental/filesystem>
+#include <filesystem>
#include <string>
namespace openpower
@@ -20,7 +20,7 @@
namespace virtual_pnor
{
-namespace fs = std::experimental::filesystem;
+namespace fs = std::filesystem;
class Request
{
@@ -88,7 +88,7 @@
*
* Throws: std::filesystem_error, std::bad_alloc
*/
- std::experimental::filesystem::path getPartitionFilePath(int flags);
+ std::filesystem::path getPartitionFilePath(int flags);
struct backend* backend;
const pnor_partition& partition;