mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
format -> vformat
This commit is contained in:
@ -350,7 +350,7 @@ FMT_FUNC void WindowsError::init(
|
||||
int err_code, CStringRef format_str, format_args args) {
|
||||
error_code_ = err_code;
|
||||
MemoryWriter w;
|
||||
internal::format_windows_error(w, err_code, format(format_str, args));
|
||||
internal::format_windows_error(w, err_code, vformat(format_str, args));
|
||||
std::runtime_error &base = *this;
|
||||
base = std::runtime_error(w.str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user