mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-25 02:39:40 +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.
|
// 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 *)
|
||||||
|
Loading…
Reference in New Issue
Block a user