mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Fix Windows build.
This commit is contained in:
parent
a2205739b1
commit
a318244a1c
@ -1096,7 +1096,7 @@ void fmt::ReportSystemError(
|
|||||||
void fmt::WinErrorSink::operator()(const Writer &w) const {
|
void fmt::WinErrorSink::operator()(const Writer &w) const {
|
||||||
Writer message;
|
Writer message;
|
||||||
internal::FormatWinErrorMessage(message, error_code_, w.c_str());
|
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(
|
void fmt::ReportWinError(
|
||||||
|
Loading…
Reference in New Issue
Block a user