mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 03:34:45 +02:00
Correct example.
This commit is contained in:
@@ -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 *)
|
||||
|
Reference in New Issue
Block a user