Verified Commit 76affeaf authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix possible memory leak

parent 17400308
......@@ -16,6 +16,17 @@
#include "eigenpy/registration.hpp"
#include "eigenpy/map.hpp"
namespace boost { namespace python { namespace detail {
template<class MatType>
struct referent_size<Eigen::MatrixBase<MatType>&>
{
BOOST_STATIC_CONSTANT(
std::size_t, value = sizeof(MatType));
};
}}}
namespace boost { namespace python { namespace converter {
template<class MatType>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment