Skip to content

Commit

Permalink
unique_ptr: Remove details:: when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Feb 1, 2024
1 parent b68c254 commit 0883764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/eigenpy/std_unique_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 0883764

Please sign in to comment.