diff --git a/include/boost/python/class.hpp b/include/boost/python/class.hpp index 67861b49..47e0a53f 100644 --- a/include/boost/python/class.hpp +++ b/include/boost/python/class.hpp @@ -113,10 +113,10 @@ namespace detail // wrapped. // template - inline void register_wrapper_class(T*, T*, int) {} + inline void register_wrapper_class_impl(T*, T*, int) {} template - inline void register_wrapper_class(Wrapper*, T*, ...) + inline void register_wrapper_class_impl(Wrapper*, T*, ...) { objects::register_class_from_python >(); objects::copy_class_object(type_id(), type_id()); @@ -125,7 +125,7 @@ namespace detail template inline void register_wrapper_class(Held* = 0, T* = 0) { - register_wrapper_class((Held*)0, (T*)0, 0); + register_wrapper_class_impl((Held*)0, (T*)0, 0); } # ifdef BOOST_PYTHON_NO_MEMBER_POINTER_ORDERING