mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-11 21:38:05 +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) {
|
void CheckUTFConversionError(const char *message) {
|
||||||
fmt::Writer out;
|
fmt::Writer out;
|
||||||
fmt::internal::FormatWinErrorMessage(out, ERROR_INVALID_PARAMETER, message);
|
fmt::internal::FormatWinErrorMessage(out, ERROR_INVALID_PARAMETER, message);
|
||||||
fmt::SystemError error("", 0);
|
fmt::SystemError error(0, "");
|
||||||
try {
|
try {
|
||||||
Converter(0);
|
Converter(0);
|
||||||
} catch (const fmt::SystemError &e) {
|
} catch (const fmt::SystemError &e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user