format -> vformat

This commit is contained in:
Victor Zverovich 2016-09-28 07:09:26 -07:00
parent 21c6700b83
commit c4212f9ec2

View File

@ -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());
}