input: properly log hid_error (strfmt wchar_t)

This commit is contained in:
Megamouse 2022-05-07 14:55:33 +02:00
parent 5476b9098e
commit 9a93b150f0
3 changed files with 29 additions and 3 deletions

View file

@ -8,10 +8,8 @@
#include "util/types.hpp"
#ifdef _WIN32
std::wstring utf8_to_wchar(std::string_view src);
std::string wchar_to_utf8(std::wstring_view src);
#endif
// Copy null-terminated string from a std::string or a char array to a char array with truncation
template <typename D, typename T>