mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
format -> format_str to avoid confusion with function name.
This commit is contained in:
parent
7a83dcd23e
commit
ad9c830282
4
format.h
4
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user