From 6b62451ad08056f0ba02e192ec34ef67c4294ef4 Mon Sep 17 00:00:00 2001 From: Lancelot Six Date: Thu, 14 Sep 2023 11:13:24 +0000 Subject: 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 Approved-By: Pedro Alves tinfo - { gdb::make_unique (ptid) }; + { std::make_unique (ptid) }; tinfo->conf.format = BTRACE_FORMAT_BTS; @@ -617,7 +617,7 @@ linux_enable_pt (ptid_t ptid, const struct btrace_config_pt *conf) pid = ptid.pid (); std::unique_ptr tinfo - { gdb::make_unique (ptid) }; + { std::make_unique (ptid) }; tinfo->conf.format = BTRACE_FORMAT_PT; -- cgit v1.1