mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Update README.rst
This commit is contained in:
parent
52fcef1e57
commit
111fa5814b
@ -140,7 +140,7 @@ which take arbitrary arguments (`godbolt <https://godbolt.org/g/uoSRRh>`_):
|
||||
}
|
||||
template <typename... Args>
|
||||
void report_error(const char *format, const Args & ... args) {
|
||||
vreport_error(format, fmt::make_args(args...));
|
||||
vreport_error(format, fmt::make_format_args(args...));
|
||||
}
|
||||
|
||||
report_error("file not found: {}", path);
|
||||
|
Loading…
Reference in New Issue
Block a user