-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of deprecated
std::codecvt_utf8_utf16
.
`std::codecvt_utf8_utf16` is deprecated in c++17. We replace it with the usage of windows' `MultiByteToWideChar` function. The new `converter` method is taken from libzim's `FS::toWideChar` in `src/fs_windows.cpp` with the only difference to return `std::wstring` instead of `std::unique_ptr<wchar_t[]>`.
- Loading branch information
1 parent
e08484d
commit c6cc59b
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters