Correct example.

This commit is contained in:
Victor Zverovich 2014-07-01 16:59:25 -07:00
parent 5d15bdd5a5
commit b827a97fd6

View File

@ -101,7 +101,7 @@ which take arbitrary arguments:
// Prints formatted error message.
void report_error(const char *format, const fmt::ArgList &args) {
fmt::print("Error: {}");
fmt::print("Error: ");
fmt::print(format, args);
}
FMT_VARIADIC(void, report_error, const char *)