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 | |
parent | efd3baf0dcb38d7ecc2c8b4d1553254d3c022b7a (diff) | |
download | fsf-binutils-gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.zip fsf-binutils-gdb-66fd2c678e4bbd5855f0f09870862143a518bc58.tar.gz fsf-binutils-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')
-rw-r--r-- | gdb/cli/cli-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 036bc72..c26b6a7 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -59,7 +59,7 @@ cli_interp::cli_interp (const char *name) : cli_interp_base (name) { /* Create a default uiout builder for the CLI. */ - this->cli_uiout = cli_out_new (gdb_stdout); + this->cli_uiout = new cli_ui_out (gdb_stdout); } cli_interp::~cli_interp () |