diff --git a/include/eigenpy/std_unique_ptr.hpp b/include/eigenpy/std_unique_ptr.hpp
index 15e1dd6c287237281a901375d4c295f32c0892cb..3dc8d4467c1bf2513cd1d1895603139846e7fc88 100644
--- a/include/eigenpy/std_unique_ptr.hpp
+++ b/include/eigenpy/std_unique_ptr.hpp
@@ -80,7 +80,6 @@ struct StdUniquePtrResultConverter {
         return bp::to_python_value<const element_type&>().get_pytype();
       }
 #endif
-      BOOST_STATIC_CONSTANT(bool, uses_registry = true);
     };
   };
 };