2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00

Bug fix (thanks, VC7!)

[SVN r13200]
This commit is contained in:
Dave Abrahams
2002-03-15 00:25:26 +00:00
parent 6528bd0e4f
commit fbbc1981ca

View File

@@ -56,13 +56,13 @@ struct member_function_cast_impl
}
template <class S, class R, class A0, class A1>
static cast_helper<R(S::*)(A0,A1),R(T::*)(A0,A1) > stage1(R (S::*)(A0,A1))
static cast_helper<S,R(T::*)(A0,A1) > stage1(R (S::*)(A0,A1))
{
return cast_helper<R(S::*)(A0,A1),R(T::*)(A0,A1) >();
}
template <class S, class R, class A0, class A1,class A2>
static cast_helper<R(S::*)(A0,A1,A2),R(T::*)(A0,A1,A2) > stage1(R (S::*)(A0,A1,A2))
static cast_helper<S,R(T::*)(A0,A1,A2) > stage1(R (S::*)(A0,A1,A2))
{
return cast_helper<R(S::*)(A0,A1,A2),R(T::*)(A0,A1,A2) >();
}