Skip to content
Snippets Groups Projects
Unverified Commit 7d8d02ff authored by Joris Vaillant's avatar Joris Vaillant
Browse files

unique_ptr: Remove details:: when not needed

parent 80ccf197
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ struct StdUniquePtrResultConverter {
typedef typename T::element_type element_type;
PyObject* operator()(T&& x) const {
return details::unique_ptr_to_python(std::forward<T>(x));
return unique_ptr_to_python(std::forward<T>(x));
}
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
PyTypeObject const* get_pytype() const {
......@@ -92,7 +92,7 @@ struct InternalStdUniquePtrConverter {
typedef typename remove_cvref<T>::type::element_type element_type;
PyObject* operator()(T x) const {
return details::internal_unique_ptr_to_python(x);
return internal_unique_ptr_to_python(x);
}
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
PyTypeObject const* get_pytype() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment