summaryrefslogtreecommitdiffstats
path: root/libshiboken/bindingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/bindingmanager.cpp')
-rw-r--r--libshiboken/bindingmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libshiboken/bindingmanager.cpp b/libshiboken/bindingmanager.cpp
index 26a3e189..4f40bac2 100644
--- a/libshiboken/bindingmanager.cpp
+++ b/libshiboken/bindingmanager.cpp
@@ -287,13 +287,13 @@ SbkObjectType* BindingManager::resolveType(void** cptr, SbkObjectType* type)
return identifiedType ? identifiedType : type;
}
-std::set<SbkObject*> BindingManager::getAllPyObjects()
+std::set<PyObject*> BindingManager::getAllPyObjects()
{
- std::set<SbkObject*> pyObjects;
+ std::set<PyObject*> pyObjects;
const WrapperMap& wrappersMap = m_d->wrapperMapper;
WrapperMap::const_iterator it = wrappersMap.begin();
for (; it != wrappersMap.end(); ++it)
- pyObjects.insert(it->second);
+ pyObjects.insert(reinterpret_cast<PyObject*>(it->second));
return pyObjects;
}