format -> vformat
This commit is contained in:
parent
21c6700b83
commit
c4212f9ec2
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user