]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Use C++17's std::make_unique instead of gdb::make_unique
authorLancelot Six <lancelot.six@amd.com>
Thu, 14 Sep 2023 11:13:24 +0000 (11:13 +0000)
committerLancelot Six <lancelot.six@amd.com>
Tue, 21 Nov 2023 11:52:35 +0000 (11:52 +0000)
commit6b62451ad08056f0ba02e192ec34ef67c4294ef4
tree761f6e5a19e9e16d87ec955929aecd025166e335
parent1367eeec2cbd1bb14b89030e199d06fc676ffc49
gdb: Use C++17's std::make_unique instead of gdb::make_unique

gdb::make_unique is a wrapper around std::make_unique when compiled with
C++17.  Now that C++17 is required, use std::make_unique directly in the
codebase, and remove gdb::make_unique.

Change-Id: I80b615e46e4b7c097f09d78e579a9bdce00254ab
Approved-By: Tom Tromey <tom@tromey.com>
Approved-By: Pedro Alves <pedro@palves.net
26 files changed:
gdb/addrmap.c
gdb/break-catch-load.c
gdb/compile/compile-c-support.c
gdb/cp-name-parser.y
gdb/cp-support.c
gdb/dwarf2/frame.c
gdb/dwarf2/read-debug-names.c
gdb/dwarf2/read-gdb-index.c
gdb/dwarf2/read.c
gdb/gdb_bfd.c
gdb/gdbtypes.c
gdb/mi/mi-main.c
gdb/mi/mi-out.c
gdb/nat/linux-btrace.c
gdb/python/py-mi.c
gdb/python/py-varobj.c
gdb/solib-aix.c
gdb/solib-darwin.c
gdb/solib-dsbt.c
gdb/solib-frv.c
gdb/solib-rocm.c
gdb/solib-svr4.c
gdb/ui-out.c
gdb/unittests/parallel-for-selftests.c
gdb/varobj.c
gdbsupport/gdb_unique_ptr.h