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:
@@ -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) >();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user