forked from fmtlib/fmt
Fix one more Windows issue.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user