[PATCH] gdb/dwarf2/read.c: remove pessimizing std::move
Simon Marchi
simon.marchi@efficios.com
Tue Apr 23 14:40:55 GMT 2024
On 2024-04-23 10:39, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@efficios.com> writes:
>
> Simon> The compiler seems right, there is not need to std::move the result of
> Simon> `release_parent_map ()`, it's already going to be an rvalue. Remove the
> Simon> std::move.
>
> Thanks.
> Approved-By: Tom Tromey <tom@tromey.com>
>
> Tom
Thanks, pushed.
Simon
More information about the Gdb-patches
mailing list