mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Workaround gcc-2.x ICE
[SVN r21016]
This commit is contained in:
@@ -22,10 +22,10 @@ struct shared_ptr_from_python
|
||||
private:
|
||||
static void* convertible(PyObject* p)
|
||||
{
|
||||
return p == Py_None
|
||||
? p
|
||||
: converter::get_lvalue_from_python(p, registered<T>::converters)
|
||||
;
|
||||
if (p == Py_None)
|
||||
return p;
|
||||
|
||||
return converter::get_lvalue_from_python(p, registered<T>::converters);
|
||||
}
|
||||
|
||||
static void construct(PyObject* source, rvalue_from_python_stage1_data* data)
|
||||
|
||||
Reference in New Issue
Block a user