From c4212f9ec2ce8aee42541243d1861c04b54518ba Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 28 Sep 2016 07:09:26 -0700 Subject: [PATCH] format -> vformat --- fmt/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt/format.cc b/fmt/format.cc index 719a556f..6abda6d5 100644 --- a/fmt/format.cc +++ b/fmt/format.cc @@ -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()); }