mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
Pass policies to returning<> by-pointer for GCC 2.95.2 :(
[SVN r13443]
This commit is contained in:
@@ -42,7 +42,7 @@ PyObject* operator()(
|
||||
, P const& policies \
|
||||
) const \
|
||||
{ \
|
||||
return returning<R>::call(f, args, keywords, policies); \
|
||||
return returning<R>::call(f, args, keywords,&policies); \
|
||||
}
|
||||
|
||||
BOOST_PYTHON_REPEAT_ARITY_2ND(BOOST_PYTHON_CALLER_PF, nil)
|
||||
@@ -56,7 +56,7 @@ PyObject* operator()(
|
||||
, P const& policies \
|
||||
) const \
|
||||
{ \
|
||||
return returning<R>::call(f, args, keywords, policies); \
|
||||
return returning<R>::call(f, args, keywords,&policies); \
|
||||
}
|
||||
|
||||
BOOST_PYTHON_REPEAT_MF_ALL_CV_2ND(BOOST_PYTHON_CALLER_PMF)
|
||||
|
||||
Reference in New Issue
Block a user