Commit 5b028815 authored by Victor Zverovich's avatar Victor Zverovich

Merge branch 'master' of github.com:fmtlib/fmt

parents a133187a 770a94ed
......@@ -1371,7 +1371,7 @@ FMT_FUNC void vprint(std::FILE* f, string_view format_str, format_args args) {
if (!WriteConsoleW(reinterpret_cast<HANDLE>(_get_osfhandle(fd)),
u16.c_str(), static_cast<DWORD>(u16.size()), &written,
nullptr)) {
throw format_error("failed to write to console");
FMT_THROW(format_error("failed to write to console"));
}
return;
}
......
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