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