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/bmc_dump_entry.cpp b/bmc_dump_entry.cpp
index ce59a7f..20610c7 100644
--- a/bmc_dump_entry.cpp
+++ b/bmc_dump_entry.cpp
@@ -18,9 +18,9 @@
// Delete Dump file from Permanent location
try
{
- fs::remove_all(file.parent_path());
+ std::filesystem::remove_all(file.parent_path());
}
- catch (fs::filesystem_error& e)
+ catch (std::filesystem::filesystem_error& e)
{
// Log Error message and continue
log<level::ERR>(e.what());