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

core: rename macro name

parent 9d7ad651
No related branches found
No related tags found
No related merge requests found
Pipeline #25343 passed with warnings
......@@ -95,10 +95,10 @@
#ifdef EIGENPY_WITH_CXX11_SUPPORT
#include <memory>
#define EIGENPY_CLASS_HOLDER_TYPE(T) ::std::shared_ptr<T>
#define EIGENPY_SHARED_PTR_HOLDER_TYPE(T) ::std::shared_ptr<T>
#else
#include <boost/shared_ptr.hpp>
#define EIGENPY_CLASS_HOLDER_TYPE(T) ::boost::shared_ptr<T>
#define EIGENPY_SHARED_PTR_HOLDER_TYPE(T) ::boost::shared_ptr<T>
#endif
namespace eigenpy {
......
......@@ -351,7 +351,7 @@ class QuaternionVisitor
public:
static void expose() {
#if BOOST_VERSION / 100 % 1000 < 71
typedef EIGENPY_CLASS_HOLDER_TYPE(Quaternion) HolderType;
typedef EIGENPY_SHARED_PTR_HOLDER_TYPE(Quaternion) HolderType;
#else
typedef ::boost::python::detail::not_specified HolderType;
#endif
......
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