diff --git a/src/lib/fmt/ExceptionFormatter.cxx b/src/lib/fmt/ExceptionFormatter.cxx index ebbd0d9fe..8907ae210 100644 --- a/src/lib/fmt/ExceptionFormatter.cxx +++ b/src/lib/fmt/ExceptionFormatter.cxx @@ -8,5 +8,5 @@ auto fmt::formatter::format(std::exception_ptr e, format_context &ctx) const -> format_context::iterator { - return formatter::format(GetFullMessage(e), ctx); + return formatter::format(GetFullMessage(std::move(e)), ctx); }