Skip to content

Commit 054dc43

Browse files
committed
Workaround msvc bug
[SVN r19553]
1 parent 5008dcb commit 054dc43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/boost/python/class.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ namespace detail
113113
// wrapped.
114114
//
115115
template <class T>
116-
inline void register_wrapper_class(T*, T*, int) {}
116+
inline void register_wrapper_class_impl(T*, T*, int) {}
117117

118118
template <class Wrapper, class T>
119-
inline void register_wrapper_class(Wrapper*, T*, ...)
119+
inline void register_wrapper_class_impl(Wrapper*, T*, ...)
120120
{
121121
objects::register_class_from_python<Wrapper, mpl::vector1<T> >();
122122
objects::copy_class_object(type_id<T>(), type_id<Wrapper>());
@@ -125,7 +125,7 @@ namespace detail
125125
template <class Held, class T>
126126
inline void register_wrapper_class(Held* = 0, T* = 0)
127127
{
128-
register_wrapper_class((Held*)0, (T*)0, 0);
128+
register_wrapper_class_impl((Held*)0, (T*)0, 0);
129129
}
130130

131131
# ifdef BOOST_PYTHON_NO_MEMBER_POINTER_ORDERING

0 commit comments

Comments
 (0)