diff --git a/test/auto_ptr.cpp b/test/auto_ptr.cpp index 39c3941b..4007df9f 100644 --- a/test/auto_ptr.cpp +++ b/test/auto_ptr.cpp @@ -42,14 +42,12 @@ std::auto_ptr make() std::auto_ptr callback(object f) { std::auto_ptr x(new X(77)); -// call(f.ptr(),x); -// return std::auto_ptr(new X(77)); return call >(f.ptr(), x); } std::auto_ptr extract_(object o) { - return extract >(o); + return extract&>(o); } BOOST_PYTHON_MODULE(auto_ptr_ext)