Commit b827a97f authored by Victor Zverovich's avatar Victor Zverovich

Correct example.

parent 5d15bdd5
......@@ -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 *)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment