Switch to std::filesystem
Change-Id: I3b8e8adfae9b063f97396d35a5f2296df56a3eb9
diff --git a/tests/key-chain-fixture.cpp b/tests/key-chain-fixture.cpp
index 57bb057..1a9b43b 100644
--- a/tests/key-chain-fixture.cpp
+++ b/tests/key-chain-fixture.cpp
@@ -27,7 +27,8 @@
#include <ndn-cxx/util/io.hpp>
-#include <boost/filesystem/operations.hpp>
+#include <filesystem>
+#include <system_error>
namespace nfd::tests {
@@ -40,9 +41,9 @@
KeyChainFixture::~KeyChainFixture()
{
- boost::system::error_code ec;
+ std::error_code ec;
for (const auto& certFile : m_certFiles) {
- boost::filesystem::remove(certFile, ec); // ignore error
+ std::filesystem::remove(certFile, ec); // ignore error
}
}