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 @@ ...@@ -95,10 +95,10 @@
#ifdef EIGENPY_WITH_CXX11_SUPPORT #ifdef EIGENPY_WITH_CXX11_SUPPORT
#include <memory> #include <memory>
#define EIGENPY_CLASS_HOLDER_TYPE(T) ::std::shared_ptr<T> #define EIGENPY_SHARED_PTR_HOLDER_TYPE(T) ::std::shared_ptr<T>
#else #else
#include <boost/shared_ptr.hpp> #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 #endif
namespace eigenpy { namespace eigenpy {
......
...@@ -351,7 +351,7 @@ class QuaternionVisitor ...@@ -351,7 +351,7 @@ class QuaternionVisitor
public: public:
static void expose() { static void expose() {
#if BOOST_VERSION / 100 % 1000 < 71 #if BOOST_VERSION / 100 % 1000 < 71
typedef EIGENPY_CLASS_HOLDER_TYPE(Quaternion) HolderType; typedef EIGENPY_SHARED_PTR_HOLDER_TYPE(Quaternion) HolderType;
#else #else
typedef ::boost::python::detail::not_specified HolderType; typedef ::boost::python::detail::not_specified HolderType;
#endif #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