aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsmart/smart_sharedptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsmart/smart_sharedptr.h')
-rw-r--r--sources/shiboken6/tests/libsmart/smart_sharedptr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsmart/smart_sharedptr.h b/sources/shiboken6/tests/libsmart/smart_sharedptr.h
index dc665810a..7a77b3d6c 100644
--- a/sources/shiboken6/tests/libsmart/smart_sharedptr.h
+++ b/sources/shiboken6/tests/libsmart/smart_sharedptr.h
@@ -91,4 +91,10 @@ public:
std::shared_ptr<T> mPtr;
};
+template <class T>
+class SharedPtr2 : public SharedPtr<T> {
+public:
+ using SharedPtr<T>::SharedPtr;
+};
+
#endif // SMART_SHARED_PTR_H