Skip to content

Replace removed boost::filesystem::wpath with path - #13

Open
Phenitix wants to merge 1 commit into
Euro-Office:mainfrom
Phenitix:fix/boost-filesystem-wpath
Open

Replace removed boost::filesystem::wpath with path#13
Phenitix wants to merge 1 commit into
Euro-Office:mainfrom
Phenitix:fix/boost-filesystem-wpath

Conversation

@Phenitix

Copy link
Copy Markdown

wpath is Boost.Filesystem v2 and has been removed from current Boost, so the file no longer compiles:

error C2039: 'wpath' is not a member of 'boost::filesystem'

In v3 boost::filesystem::path is already wide on Windows - its value_type is wchar_t - so this is a drop-in replacement at all six occurrences. The surrounding code passes std::wstring in and calls .wstring() on the result; both stay valid.

wpath is Boost.Filesystem v2 and has been removed from current Boost, so the
file no longer compiles:

    error C2039: 'wpath' is not a member of 'boost::filesystem'

In v3 boost::filesystem::path is already wide on Windows - its value_type is
wchar_t - so this is a drop-in replacement at all six occurrences. The
surrounding code passes std::wstring in and calls .wstring() on the result;
both stay valid.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant