aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-rocm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-rocm.c')
-rw-r--r--gdb/solib-rocm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-rocm.c b/gdb/solib-rocm.c
index 3a971b3..cf56a81 100644
--- a/gdb/solib-rocm.c
+++ b/gdb/solib-rocm.c
@@ -212,7 +212,7 @@ so_list_from_rocm_sos (const std::vector<rocm_so> &sos)
for (const rocm_so &so : sos)
{
struct shobj *newobj = new struct shobj;
- newobj->lm_info = gdb::make_unique<lm_info_svr4> (*so.lm_info);
+ newobj->lm_info = std::make_unique<lm_info_svr4> (*so.lm_info);
newobj->so_name = so.name;
newobj->so_original_name = so.unique_name;
@@ -725,7 +725,7 @@ rocm_update_solib_list ()
gdb::unique_xmalloc_ptr<char> uri_bytes_holder (uri_bytes);
- lm_info_svr4_up li = gdb::make_unique<lm_info_svr4> ();
+ lm_info_svr4_up li = std::make_unique<lm_info_svr4> ();
li->l_addr = l_addr;
/* Generate a unique name so that code objects with the same URI but