Skip to content
Snippets Groups Projects
Verified Commit 76affeaf authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix possible memory leak

parent 17400308
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
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