diff --git a/README.rst b/README.rst index 546e3d25..58fb10ce 100644 --- a/README.rst +++ b/README.rst @@ -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 ReportError(const char *format) { - return fmt::Formatter(format); + return Move(fmt::Formatter(format)); } ReportError("File not found: {}") << path;