aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-frv.c
diff options
context:
space:
mode:
authorLancelot Six <lancelot.six@amd.com>2023-09-14 11:13:24 +0000
committerLancelot Six <lancelot.six@amd.com>2023-11-21 11:52:35 +0000
commit6b62451ad08056f0ba02e192ec34ef67c4294ef4 (patch)
tree761f6e5a19e9e16d87ec955929aecd025166e335 /gdb/solib-frv.c
parent1367eeec2cbd1bb14b89030e199d06fc676ffc49 (diff)
downloadfsf-binutils-gdb-6b62451ad08056f0ba02e192ec34ef67c4294ef4.zip
fsf-binutils-gdb-6b62451ad08056f0ba02e192ec34ef67c4294ef4.tar.gz
fsf-binutils-gdb-6b62451ad08056f0ba02e192ec34ef67c4294ef4.tar.bz2
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
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r--gdb/solib-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 0897bce..7ca2898 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -377,7 +377,7 @@ frv_current_sos ()
}
shobj *sop = new shobj;
- auto li = gdb::make_unique<lm_info_frv> ();
+ auto li = std::make_unique<lm_info_frv> ();
li->map = loadmap;
li->got_value = got_addr;
li->lm_addr = lm_addr;