Skip to content

Commit

Permalink
use qualified call to avoid ADL conflict with std::format_to
Browse files Browse the repository at this point in the history
  • Loading branch information
Agga authored and vitaut committed Jun 1, 2022
1 parent 9d60395 commit ba50c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os.cc
Expand Up @@ -169,7 +169,7 @@ void detail::format_windows_error(detail::buffer<char>& out, int error_code,
if (msg) {
utf16_to_utf8 utf8_message;
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;
}
}
Expand Down

0 comments on commit ba50c19

Please sign in to comment.