2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 16:52:15 +00:00

Serious bugfix

[SVN r15518]
This commit is contained in:
Dave Abrahams
2002-09-26 00:11:30 +00:00
parent 3cb9ecae78
commit f4aa72373b

View File

@@ -13,6 +13,7 @@
# include <boost/python/detail/void_ptr.hpp>
# include <boost/call_traits.hpp>
# include <boost/python/detail/void_return.hpp>
# include <boost/python/errors.hpp>
namespace boost { namespace python { namespace converter {
@@ -141,7 +142,7 @@ namespace detail
inline T return_object_manager_from_python<T>::operator()(PyObject* obj) const
{
return T(
object_manager_traits<T>::adopt(obj)
object_manager_traits<T>::adopt(expect_non_null(obj))
);
}
}