diff options
author | Tom Tromey <tromey@adacore.com> | 2022-06-23 14:37:57 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-07-18 08:49:55 -0600 |
commit | 66fd2c678e4bbd5855f0f09870862143a518bc58 (patch) | |
tree | b8ae901c02e790aaf429dd12c28b090cebbc4f7f /gdb/cli-out.c | |
parent | efd3baf0dcb38d7ecc2c8b4d1553254d3c022b7a (diff) | |
download | gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.zip gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.tar.gz gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.tar.bz2 |
Remove cli_out_new
cli_out_new is just a small wrapper around 'new'. This patch removes
it, replacing it with uses of 'new' instead.
Diffstat (limited to 'gdb/cli-out.c')
-rw-r--r-- | gdb/cli-out.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/cli-out.c b/gdb/cli-out.c index e0802df..fdbed6f 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -386,14 +386,6 @@ cli_ui_out::~cli_ui_out () { } -/* Initialize private members at startup. */ - -cli_ui_out * -cli_out_new (struct ui_file *stream) -{ - return new cli_ui_out (stream, ui_source_list); -} - ui_file * cli_ui_out::set_stream (struct ui_file *stream) { |