use qualified call to avoid ADL conflict with std::format_to

This commit is contained in:
agga
2022-06-01 15:57:15 -07:00
committed by Victor Zverovich
parent 9d60395953
commit ba50c19e82
+1 -1
View File
@@ -169,7 +169,7 @@ void detail::format_windows_error(detail::buffer<char>& out, int error_code,
if (msg) { if (msg) {
utf16_to_utf8 utf8_message; utf16_to_utf8 utf8_message;
if (utf8_message.convert(msg) == ERROR_SUCCESS) { if (utf8_message.convert(msg) == ERROR_SUCCESS) {
format_to(buffer_appender<char>(out), "{}: {}", message, utf8_message); fmt::format_to(buffer_appender<char>(out), "{}: {}", message, utf8_message);
return; return;
} }
} }