mirror of
https://github.com/boostorg/python.git
synced 2026-01-28 07:22:31 +00:00
Fix mistaken cast
[SVN r14420]
This commit is contained in:
@@ -97,9 +97,10 @@ namespace detail
|
||||
BOOST_PYTHON_DECL void* convert_rvalue(PyObject* src, rvalue_from_python_stage1_data& data, void* storage)
|
||||
{
|
||||
handle<> holder(src);
|
||||
|
||||
|
||||
void const* registration = data.convertible;
|
||||
data = rvalue_from_python_stage1(
|
||||
src, *static_cast<from_python_registration const*>(data.convertible));
|
||||
src, *static_cast<from_python_registration const*>(registration));
|
||||
|
||||
if (!data.convertible)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user