diff options
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r-- | libshiboken/basewrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index d82297d..b3f99a8 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -1105,8 +1105,8 @@ bool isValid(PyObject* pyObj, bool throwPyError) return isValid(reinterpret_cast<SbkObject*>(pyObj), throwPyError); } -SbkObject *findColocatedChild(SbkObject* wrapper, - SbkObjectType* instanceType) +SbkObject *findColocatedChild(SbkObject *wrapper, + const SbkObjectType *instanceType) { // Degenerate case, wrapper is the correct wrapper. if (reinterpret_cast<const void *>(Py_TYPE(wrapper)) == reinterpret_cast<const void *>(instanceType)) |