diff --git a/include/boost/python/to_python_indirect.hpp b/include/boost/python/to_python_indirect.hpp index a636ff66..5d468c9f 100644 --- a/include/boost/python/to_python_indirect.hpp +++ b/include/boost/python/to_python_indirect.hpp @@ -31,7 +31,7 @@ namespace detail { struct make_owning_holder { - typedef objects::instance_holder* result_type; + typedef instance_holder* result_type; template static result_type execute(T* p) { @@ -49,7 +49,7 @@ namespace detail struct make_reference_holder { - typedef objects::instance_holder* result_type; + typedef instance_holder* result_type; template static result_type execute(T* p) { @@ -110,7 +110,7 @@ inline PyObject* to_python_indirect::operator()(T x) const // Build a value_holder to contain the object using the copy // constructor - objects::instance_holder* p = + instance_holder* p = detail::unwind_type(x); // Install it in the instance