forked from fmtlib/fmt
Update README.rst
This commit is contained in:
@@ -140,7 +140,7 @@ which take arbitrary arguments (`godbolt <https://godbolt.org/g/uoSRRh>`_):
|
|||||||
}
|
}
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
void report_error(const char *format, const Args & ... 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);
|
report_error("file not found: {}", path);
|
||||||
|
Reference in New Issue
Block a user