c++17: drop experimental::filesystem
Use the real filesystem library, and drop support for building with
experimental under c++14.
Change-Id: I47cbfc30b223db9dc28e9536ceb84e9fe3342e96
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/activation.cpp b/activation.cpp
index e7a6714..8765181 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -11,7 +11,7 @@
#include <sdbusplus/server.hpp>
#include <xyz/openbmc_project/Common/error.hpp>
-#include <experimental/filesystem>
+#include <filesystem>
#ifdef WANT_SIGNATURE_VERIFY
#include "image_verify.hpp"
@@ -24,7 +24,6 @@
namespace updater
{
-namespace fs = std::experimental::filesystem;
namespace softwareServer = sdbusplus::xyz::openbmc_project::Software::server;
using namespace phosphor::logging;
@@ -242,7 +241,7 @@
bool Activation::validateSignature(const std::string& pnorFileName)
{
using Signature = openpower::software::image::Signature;
- fs::path imageDir(IMG_DIR);
+ std::filesystem::path imageDir(IMG_DIR);
Signature signature(imageDir / versionId, pnorFileName,
PNOR_SIGNED_IMAGE_CONF_PATH);