Skip to content

Commit f486537

Browse files
committed
core: fix typedef
1 parent aeee16e commit f486537

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

include/eigenpy/eigen-from-python.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,14 @@ namespace boost { namespace python { namespace detail {
9393
struct referent_storage<Eigen::Ref<MatType,Options,Stride> &>
9494
{
9595
typedef ::eigenpy::details::referent_storage_eigen_ref<MatType,Options,Stride> StorageType;
96-
typedef aligned_storage<
97-
::boost::python::detail::referent_size<StorageType&>::value
98-
> type;
96+
typedef aligned_storage<referent_size<StorageType&>::value> type;
9997
};
10098

10199
template<typename MatType, int Options, typename Stride>
102100
struct referent_storage<const Eigen::Ref<const MatType,Options,Stride> &>
103101
{
104102
typedef ::eigenpy::details::referent_storage_eigen_ref<const MatType,Options,Stride> StorageType;
105-
typedef aligned_storage<
106-
::boost::python::detail::referent_size<StorageType&>::value
107-
> type;
103+
typedef aligned_storage<referent_size<StorageType&>::value> type;
108104
};
109105
#endif
110106
}}}

0 commit comments

Comments
 (0)