mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 11:14:41 +00:00
Update README
This commit is contained in:
parent
f406a42baa
commit
383cc773e2
@ -98,7 +98,7 @@ with an arbitrary action performed when formatting is complete:
|
||||
|
||||
// Formats an error message and prints it to std::cerr.
|
||||
fmt::Formatter<PrintError> ReportError(const char *format) {
|
||||
return fmt::Formatter<PrintError>(format);
|
||||
return Move(fmt::Formatter<PrintError>(format));
|
||||
}
|
||||
|
||||
ReportError("File not found: {}") << path;
|
||||
|
Loading…
Reference in New Issue
Block a user