diff options
Diffstat (limited to 'py/modules/IcePy/ObjectFactory.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/ObjectFactory.cpp b/py/modules/IcePy/ObjectFactory.cpp index 7bf97bb9eb4..7fe72706ab6 100644 --- a/py/modules/IcePy/ObjectFactory.cpp +++ b/py/modules/IcePy/ObjectFactory.cpp @@ -97,7 +97,7 @@ IcePy::ObjectFactory::create(const string& id) // // Instantiate the object. // - PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType.get()); + PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType); PyObjectHandle args = PyTuple_New(0); PyObjectHandle obj = type->tp_new(type, args.get(), 0); if(!obj.get()) |