Switch to std::filesystem
Change-Id: I3b8e8adfae9b063f97396d35a5f2296df56a3eb9
diff --git a/daemon/face/unix-stream-factory.cpp b/daemon/face/unix-stream-factory.cpp
index a1cc2fe..e20a8dd 100644
--- a/daemon/face/unix-stream-factory.cpp
+++ b/daemon/face/unix-stream-factory.cpp
@@ -25,7 +25,7 @@
#include "unix-stream-factory.hpp"
-#include <boost/filesystem/operations.hpp>
+#include <filesystem>
namespace nfd::face {
@@ -86,8 +86,8 @@
shared_ptr<UnixStreamChannel>
UnixStreamFactory::createChannel(const std::string& socketPath)
{
- auto normalizedPath = boost::filesystem::weakly_canonical(boost::filesystem::absolute(socketPath));
- unix_stream::Endpoint endpoint(normalizedPath.string());
+ auto normalizedPath = std::filesystem::weakly_canonical(std::filesystem::absolute(socketPath));
+ unix_stream::Endpoint endpoint(normalizedPath);
auto it = m_channels.find(endpoint);
if (it != m_channels.end())