mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
Remove tui_out_new
tui_out_new is just a simple wrapper for 'new' and can be removed, simplifying gdb a tiny bit.
This commit is contained in:
parent
c3d4b6a6d9
commit
4311c583a6
@ -907,7 +907,7 @@ tui_initialize_io (void)
|
||||
tui_stdout = new pager_file (new tui_file (stdout));
|
||||
tui_stderr = new tui_file (stderr);
|
||||
tui_stdlog = new timestamped_file (tui_stderr);
|
||||
tui_out = tui_out_new (tui_stdout);
|
||||
tui_out = new tui_ui_out (tui_stdout);
|
||||
|
||||
/* Create the default UI. */
|
||||
tui_old_uiout = new cli_ui_out (gdb_stdout);
|
||||
|
@ -109,9 +109,3 @@ tui_ui_out::tui_ui_out (ui_file *stream)
|
||||
: cli_ui_out (stream, 0)
|
||||
{
|
||||
}
|
||||
|
||||
tui_ui_out *
|
||||
tui_out_new (struct ui_file *stream)
|
||||
{
|
||||
return new tui_ui_out (stream);
|
||||
}
|
||||
|
@ -61,6 +61,4 @@ class tui_ui_out : public cli_ui_out
|
||||
int m_start_of_line = 0;
|
||||
};
|
||||
|
||||
extern tui_ui_out *tui_out_new (struct ui_file *stream);
|
||||
|
||||
#endif /* TUI_TUI_OUT_H */
|
||||
|
Loading…
Reference in New Issue
Block a user