From 752c6c1f031e6895620a94f1c78df74309d2e209 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 25 Sep 2024 13:29:21 +0200 Subject: [PATCH] lib/fmt/ExceptionFormatter: move the exception_ptr --- src/lib/fmt/ExceptionFormatter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }