Fix build with NativeFileStream for Windows

sendfile
Martchus 3 years ago
parent f098a83a18
commit 6b1a9cec01
  1. 2
      io/nativefilestream.cpp

@ -295,7 +295,7 @@ std::unique_ptr<std::basic_streambuf<char>> NativeFileStream::makeFileBuffer(int
*/
std::unique_ptr<wchar_t[]> NativeFileStream::makeWidePath(const std::string &path)
{
auto widePath = ::ConversionUtilities::convertMultiByteToWide(path);
auto widePath = ::CppUtilities::convertMultiByteToWide(path);
if (!widePath.first) {
throw std::ios_base::failure("Unable to convert path to UTF-16");
}

Loading…
Cancel
Save