Commit ba50c19e authored by agga's avatar agga Committed by Victor Zverovich

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

parent 9d603959
...@@ -169,7 +169,7 @@ void detail::format_windows_error(detail::buffer<char>& out, int error_code, ...@@ -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;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment