diff --git a/test/util-test.cc b/test/util-test.cc index eda346ab..65f82522 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -107,7 +107,7 @@ template 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) {