--- LucenePlusPlus-rel_3.0.9.orig/src/core/store/MMapDirectory.cpp 2026-10-18 01:54:46.968874036 +0200 +++ LucenePlusPlus-rel_3.0.9/src/core/store/MMapDirectory.cpp 2026-10-18 01:54:46.972686582 +0200 @@ -36,7 +36,7 @@ MMapIndexInput::MMapIndexInput(const Str bufferPosition = 0; if (!path.empty()) { try { - file.open(boost::filesystem::wpath(path), _length); + file.open(boost::filesystem::path(path), _length); } catch (...) { boost::throw_exception(FileNotFoundException(path)); } --- LucenePlusPlus-rel_3.0.9.orig/src/core/util/FileUtils.cpp 2026-10-18 01:54:46.969874024 +0200 +++ LucenePlusPlus-rel_3.0.9/src/core/util/FileUtils.cpp 2026-10-18 01:54:46.972559943 +0200 @@ -5,7 +5,6 @@ ///////////////////////////////////////////////////////////////////////////// #include "LuceneInc.h" -#include #include #include #include "LuceneThread.h" @@ -128,12 +127,12 @@ String joinPath(const String& path, cons } String extractPath(const String& path) { - boost::filesystem::wpath parentPath(path.c_str()); + boost::filesystem::path parentPath(path.c_str()); return parentPath.parent_path().wstring().c_str(); } String extractFile(const String& path) { - boost::filesystem::wpath fileName(path.c_str()); + boost::filesystem::path fileName(path.c_str()); return fileName.filename().wstring().c_str(); }