aboutsummaryrefslogtreecommitdiff
path: root/atf-c++/check.cpp
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2026-08-17 09:41:49 +0000
committerEnji Cooper <ngie@FreeBSD.org>2026-08-17 09:41:49 +0000
commit0c9bf043d6892725fd76cd2026949405c9381663 (patch)
tree076723db8845ca592088620dde4d293fedb9dbfe /atf-c++/check.cpp
parentcd355e3667c67b15d9850bacb416b13486e22c24 (diff)
vendor/atf: import atf-0.24-rc1vendor/atf/atf-0.24-rc1
This release candidate will likely serve as the actual upstream release tag for version 0.24, but for now it should be considered a release-candidate worthy tag as this code has not gone through a full FreeBSD test suite run or been built with `make tinderbox` yet on all supported architectures. Obtained from: https://github.com/freebsd/atf/releases/tag/atf-0.24-rc1
Diffstat (limited to 'atf-c++/check.cpp')
-rw-r--r--atf-c++/check.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/atf-c++/check.cpp b/atf-c++/check.cpp
index e4d7db4d49a6..78da33fa9620 100644
--- a/atf-c++/check.cpp
+++ b/atf-c++/check.cpp
@@ -141,7 +141,7 @@ impl::build_cxx_o(const std::string& sfile, const std::string& ofile,
return success;
}
-std::auto_ptr< impl::check_result >
+std::unique_ptr< impl::check_result >
impl::exec(const atf::process::argv_array& argva)
{
atf_check_result_t result;
@@ -150,5 +150,6 @@ impl::exec(const atf::process::argv_array& argva)
if (atf_is_error(err))
throw_atf_error(err);
- return std::auto_ptr< impl::check_result >(new impl::check_result(&result));
+ return std::unique_ptr< impl::check_result >(
+ new impl::check_result(&result));
}