From 7d8d02ffb97b23e2bf13d5d23b2b42548d6082db Mon Sep 17 00:00:00 2001 From: Joris Vaillant <joris.vaillant@inria.fr> Date: Thu, 1 Feb 2024 17:55:12 +0100 Subject: [PATCH] unique_ptr: Remove details:: when not needed --- include/eigenpy/std_unique_ptr.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/eigenpy/std_unique_ptr.hpp b/include/eigenpy/std_unique_ptr.hpp index 3dc8d446..4c2185cb 100644 --- a/include/eigenpy/std_unique_ptr.hpp +++ b/include/eigenpy/std_unique_ptr.hpp @@ -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 { -- GitLab