Commit a318244a authored by Victor Zverovich's avatar Victor Zverovich

Fix Windows build.

parent a2205739
......@@ -1096,7 +1096,7 @@ void fmt::ReportSystemError(
void fmt::WinErrorSink::operator()(const Writer &w) const {
Writer message;
internal::FormatWinErrorMessage(message, error_code_, w.c_str());
throw SystemError(message.c_str(), error_code_);
throw SystemError(error_code_, message.c_str());
}
void fmt::ReportWinError(
......
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