]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use std::make_unique with ui_files
authorTom Tromey <tom@tromey.com>
Fri, 16 Jan 2026 16:19:09 +0000 (09:19 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 9 Feb 2026 15:16:00 +0000 (08:16 -0700)
commit6c1f794e28e8b92f3dbf00d3630f2e234e30665e
tree90b82c2573d7b27c9e0aaf9b73bec28aca43ee4d
parent9ae0cd570509ca8546592099a649c25ef108dea9
Use std::make_unique with ui_files

This changes a couple of spots to use std::make_unique rather than
'new'.  This is a bit more idiomatic.  I've only touched code
involving ui_file here, there are plenty more changes like this that
could be made, but I considered those unrelated to this series.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/cli/cli-logging.c
gdb/serial.c