From 9c88ab0b8a4040d6b53d2e184d900159f26964c6 Mon Sep 17 00:00:00 2001 From: erikbs Date: Fri, 30 Jan 2026 04:10:12 +0100 Subject: [PATCH] WDocRootDataInfo.C: use cpp17::filesystem instead of boost::filesystem --- src/Wt/WDocRootDataInfo.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Wt/WDocRootDataInfo.C b/src/Wt/WDocRootDataInfo.C index c1734cad1..3a3d0f1f8 100644 --- a/src/Wt/WDocRootDataInfo.C +++ b/src/Wt/WDocRootDataInfo.C @@ -6,11 +6,11 @@ #include "Wt/WDocRootDataInfo.h" +#include "Wt/cpp17/filesystem.hpp" + #include "Wt/WApplication.h" #include "Wt/WException.h" -#include - namespace Wt { WDocRootDataInfo::WDocRootDataInfo(const std::string& path) @@ -25,8 +25,8 @@ void WDocRootDataInfo::setRelativePath(const std::string& path) std::string WDocRootDataInfo::filePath() const { if (hasFilePath()) { - boost::filesystem::path path = boost::filesystem::path(relPath_); - path = boost::filesystem::path(WApplication::instance()->docRoot()) / path; + cpp17::filesystem::path path = cpp17::filesystem::path(relPath_); + path = cpp17::filesystem::path(WApplication::instance()->docRoot()) / path; return path.string(); } return WAbstractDataInfo::filePath();