From f2e03918003e6d98274e3d7adf1318ef3fe43973 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 23 Apr 2014 17:34:32 -0700 Subject: [PATCH] Simplify. --- format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format.h b/format.h index b2b46d34..4e9fa728 100644 --- a/format.h +++ b/format.h @@ -1558,14 +1558,14 @@ template inline std::string Format(const StringRef &format, const Args & ... args) { Writer w; w.Format(format, args...); - return fmt::str(w); + return str(w); } template inline std::wstring Format(const WStringRef &format, const Args & ... args) { WWriter w; w.Format(format, args...); - return fmt::str(w); + return str(w); } #endif // FMT_USE_VARIADIC_TEMPLATES