Fix one more Windows issue.

This commit is contained in:
Victor Zverovich 2014-06-30 17:01:31 -07:00
parent 3c72e0c18b
commit 182d8178fe

View File

@ -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) {