forked from fmtlib/fmt
Correct example.
This commit is contained in:
@ -101,7 +101,7 @@ which take arbitrary arguments:
|
|||||||
|
|
||||||
// Prints formatted error message.
|
// Prints formatted error message.
|
||||||
void report_error(const char *format, const fmt::ArgList &args) {
|
void report_error(const char *format, const fmt::ArgList &args) {
|
||||||
fmt::print("Error: {}");
|
fmt::print("Error: ");
|
||||||
fmt::print(format, args);
|
fmt::print(format, args);
|
||||||
}
|
}
|
||||||
FMT_VARIADIC(void, report_error, const char *)
|
FMT_VARIADIC(void, report_error, const char *)
|
||||||
|
Reference in New Issue
Block a user