Commit f2e03918 authored by Victor Zverovich's avatar Victor Zverovich

Simplify.

parent 9bde8268
......@@ -1558,14 +1558,14 @@ template<typename... Args>
inline std::string Format(const StringRef &format, const Args & ... args) {
Writer w;
w.Format(format, args...);
return fmt::str(w);
return str(w);
}
template<typename... Args>
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment