lib/fmt/ExceptionFormatter: move the exception_ptr
This commit is contained in:
parent
def2221dfd
commit
752c6c1f03
|
@ -8,5 +8,5 @@ auto
|
||||||
fmt::formatter<std::exception_ptr>::format(std::exception_ptr e, format_context &ctx) const
|
fmt::formatter<std::exception_ptr>::format(std::exception_ptr e, format_context &ctx) const
|
||||||
-> format_context::iterator
|
-> format_context::iterator
|
||||||
{
|
{
|
||||||
return formatter<string_view>::format(GetFullMessage(e), ctx);
|
return formatter<string_view>::format(GetFullMessage(std::move(e)), ctx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue