diff --git a/format.h b/format.h index a401724d..d29c080c 100644 --- a/format.h +++ b/format.h @@ -1760,9 +1760,9 @@ inline std::string format(StringRef format_str, const ArgList &args) { return w.str(); } -inline std::wstring format(WStringRef format, const ArgList &args) { +inline std::wstring format(WStringRef format_str, const ArgList &args) { WWriter w; - w.write(format, args); + w.write(format_str, args); return w.str(); }