mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Correct example.
This commit is contained in:
parent
5d15bdd5a5
commit
b827a97fd6
@ -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 *)
|
||||
|
Loading…
Reference in New Issue
Block a user