Update README.rst

This commit is contained in:
Victor Zverovich 2018-04-08 09:03:37 -07:00 committed by GitHub
parent 52fcef1e57
commit 111fa5814b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);