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

View File

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