Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / mpi / src / python / py_nonblocking.cpp
index 140ca86..69fae2f 100644 (file)
@@ -65,9 +65,9 @@ namespace
 
 
 
-  std::auto_ptr<request_list> make_request_list_from_py_list(object iterable)
+  std::shared_ptr<request_list> make_request_list_from_py_list(object iterable)
   {
-    std::auto_ptr<request_list> result(new request_list);
+    std::shared_ptr<request_list> result(new request_list);
     std::copy(
         stl_input_iterator<python::request_with_value>(iterable),
         stl_input_iterator<python::request_with_value>(),