mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Fix one more Windows issue.
This commit is contained in:
parent
3c72e0c18b
commit
182d8178fe
@ -107,7 +107,7 @@ template <typename Converter>
|
||||
void CheckUTFConversionError(const char *message) {
|
||||
fmt::Writer out;
|
||||
fmt::internal::FormatWinErrorMessage(out, ERROR_INVALID_PARAMETER, message);
|
||||
fmt::SystemError error("", 0);
|
||||
fmt::SystemError error(0, "");
|
||||
try {
|
||||
Converter(0);
|
||||
} catch (const fmt::SystemError &e) {
|
||||
|
Loading…
Reference in New Issue
Block a user