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

@ -226,6 +226,17 @@ struct fmt_class_string<char8_t*, void> : fmt_class_string<const char8_t*>
{
};
template <>
struct fmt_class_string<const wchar_t*, void>
{
static void format(std::string& out, u64 arg);
};
template <>
struct fmt_class_string<wchar_t*, void> : fmt_class_string<const wchar_t*>
{
};
namespace fmt
{
// Both uchar and std::byte are allowed