boostorg / dll

Library for comfortable work with DLL and DSO
https://boost.org/libs/dll
52 stars 43 forks source link

Remove unneeded convert from wchar_t to char on POSIX environment #49

Closed phprus closed 3 years ago

phprus commented 3 years ago

On POSIX environment fs::path::value_type is char (https://isocpp.org/files/papers/P0218r1.html#value_type, https://en.cppreference.com/w/cpp/filesystem/path). Using a wchar_t string and converting from wchar_t to char is not required.

apolukhin commented 3 years ago

Many thanks for the fix!