From 4311c583a6ac84e880207bf0418872f407557e60 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Aug 2022 12:29:32 -0600 Subject: Remove tui_out_new tui_out_new is just a simple wrapper for 'new' and can be removed, simplifying gdb a tiny bit. --- gdb/tui/tui-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tui/tui-io.c') diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index 51f0816..9f27f8b 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -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); -- cgit v1.1