Commit 182d8178 authored by Victor Zverovich's avatar Victor Zverovich

Fix one more Windows issue.

parent 3c72e0c1
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment