From a3504e96544b3f8918c4521116d537a4a07c2106 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 5 Jul 2019 12:00:06 -0600 Subject: clear_detail can only be called on TUI source windows The clear_detail method can only be called on source windows, so remove definitions from the base of the class hierarchy, leaving only a single non-virtual method. gdb/ChangeLog 2019-08-13 Tom Tromey * tui/tui-winsource.h (struct tui_source_window_base) : No longer "override". * tui/tui-regs.h (struct tui_data_window) : Remove. * tui/tui-regs.c (tui_data_window::clear_detail): Remove. * tui/tui-data.h (struct tui_win_info) : Remove. * tui/tui-command.h (struct tui_cmd_window) : Remove. * tui/tui-command.c (tui_cmd_window::clear_detail): Remove. --- gdb/tui/tui-regs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/tui/tui-regs.h') diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h index 0646729..b2abfc2 100644 --- a/gdb/tui/tui-regs.h +++ b/gdb/tui/tui-regs.h @@ -53,7 +53,6 @@ struct tui_data_window : public tui_win_info DISABLE_COPY_AND_ASSIGN (tui_data_window); - void clear_detail () override; void refresh_all () override; void set_new_height (int height) override; -- cgit v1.1