Correct example.

This commit is contained in:
Victor Zverovich 2014-06-29 11:59:38 -07:00
parent ba65bc1ec6
commit 5fe01fd096

View File

@ -103,7 +103,7 @@ which take arbitrary arguments:
void ReportError(const char *format_str, const fmt::ArgList &args) {
std::cerr << "Error: " << fmt::format(format_str, args) << std::endl;
}
FMT_VARIADIC(void, ReportError)
FMT_VARIADIC(void, ReportError, const char *)
ReportError("File not found: {}", path);