aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/pointerholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/pointerholder.h')
-rw-r--r--sources/shiboken6/tests/libsample/pointerholder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/pointerholder.h b/sources/shiboken6/tests/libsample/pointerholder.h
index b777ffe7c..26f1cf0a6 100644
--- a/sources/shiboken6/tests/libsample/pointerholder.h
+++ b/sources/shiboken6/tests/libsample/pointerholder.h
@@ -9,6 +9,8 @@
class PointerHolder
{
public:
+ LIBMINIMAL_DEFAULT_COPY_MOVE(PointerHolder)
+
explicit PointerHolder(void *ptr) : m_pointer(ptr) {}
~PointerHolder() = default;