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 (end - start); + return std::make_unique (end - start); }); SELF_CHECK (!any_empty_tasks); SELF_CHECK (std::all_of (intresults.begin (), @@ -178,7 +178,7 @@ TEST (int n_threads) { if (start == end) any_empty_tasks = true; - return gdb::make_unique (end - start); + return std::make_unique (end - start); }, task_size_one); SELF_CHECK (!any_empty_tasks); -- cgit v1.1