mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Fix inspection issues
[SVN r35239]
This commit is contained in:
@@ -29,8 +29,12 @@ struct implicit
|
||||
static void construct(PyObject* obj, rvalue_from_python_stage1_data* data)
|
||||
{
|
||||
void* storage = ((rvalue_from_python_storage<Target>*)data)->storage.bytes;
|
||||
|
||||
arg_from_python<Source> get_source(obj);
|
||||
bool convertible = get_source.convertible();
|
||||
BOOST_ASSERT(convertible);
|
||||
|
||||
new (storage) Target(extract<Source>(obj)());
|
||||
new (storage) Target(get_source());
|
||||
|
||||
// record successful construction
|
||||
data->convertible = storage;
|
||||
|
||||
Reference in New Issue
Block a user