diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-13 16:24:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-20 16:45:50 -0600 |
commit | fa4dc567aec7664b3508dd9401b1fbb6d304f281 (patch) | |
tree | e0af80ec79a5725116d3bad98caa8366432ac500 /bfd/elflink.c | |
parent | ca02d7c8003ad020bb39f0b26dc93b661be67132 (diff) | |
download | gdb-fa4dc567aec7664b3508dd9401b1fbb6d304f281.zip gdb-fa4dc567aec7664b3508dd9401b1fbb6d304f281.tar.gz gdb-fa4dc567aec7664b3508dd9401b1fbb6d304f281.tar.bz2 |
Remove indirection from tui_data_window::regs_content
tui_data_window::regs_content is currently a vector of unique_ptr.
However, due to the way this is managed now, there is no need to keep
the pointers -- it can simply be a vector of the objects themselves.
This patch removes this extra layer of indirection.
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_window): Use
DISABLE_COPY_AND_ASSIGN.
<regs_content>: Change type, removing unique_ptr.
<tui_data_window>: Add move constructor.
* tui/tui-regs.c (tui_data_window::show_registers)
(tui_data_window::show_register_group)
(tui_data_window::display_registers_from)
(tui_data_window::display_registers_from)
(tui_data_window::first_data_item_displayed)
(tui_data_window::delete_data_content_windows)
(tui_data_window::rerender, tui_data_window::refresh_window)
(tui_data_window::check_register_values): Update.
Diffstat (limited to 'bfd/elflink.c')
0 files changed, 0 insertions, 0 deletions