aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsmart
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsmart')
-rw-r--r--sources/shiboken2/tests/libsmart/smart_obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsmart/smart_obj.h b/sources/shiboken2/tests/libsmart/smart_obj.h
index e5709a071..8fe45993f 100644
--- a/sources/shiboken2/tests/libsmart/smart_obj.h
+++ b/sources/shiboken2/tests/libsmart/smart_obj.h
@@ -48,7 +48,7 @@ public:
Integer takeInteger(Integer val);
SharedPtr<Obj> giveSharedPtrToObj();
std::vector<SharedPtr<Obj> > giveSharedPtrToObjList(int size);
- SharedPtr<Integer> giveSharedPtrToInteger();
+ virtual SharedPtr<Integer> giveSharedPtrToInteger(); // virtual for PYSIDE-1188
SharedPtr<const Integer> giveSharedPtrToConstInteger();
int takeSharedPtrToConstInteger(SharedPtr<const Integer> pInt);
SharedPtr<Smart::Integer2> giveSharedPtrToInteger2();