aboutsummaryrefslogtreecommitdiff
path: root/atf-c++/check.cpp
diff options
context:
space:
mode:
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));
}