From ba50c19e827383bd5dacb74189fb4852c8dcbdae Mon Sep 17 00:00:00 2001 From: agga Date: Thu, 2 Jun 2022 00:45:59 +0200 Subject: [PATCH] use qualified call to avoid ADL conflict with std::format_to --- src/os.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os.cc b/src/os.cc index faa82512..f388ead0 100644 --- a/src/os.cc +++ b/src/os.cc @@ -169,7 +169,7 @@ void detail::format_windows_error(detail::buffer& out, int error_code, if (msg) { utf16_to_utf8 utf8_message; if (utf8_message.convert(msg) == ERROR_SUCCESS) { - format_to(buffer_appender(out), "{}: {}", message, utf8_message); + fmt::format_to(buffer_appender(out), "{}: {}", message, utf8_message); return; } }