From ad9c830282eee7756bf89794c44197523bb46bc1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 29 Jul 2014 06:26:44 -0700 Subject: [PATCH] format -> format_str to avoid confusion with function name. --- format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }