diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/objecttypeholder.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/objecttypeholder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/objecttypeholder.h b/sources/shiboken6/tests/libsample/objecttypeholder.h index e457baa26..190664608 100644 --- a/sources/shiboken6/tests/libsample/objecttypeholder.h +++ b/sources/shiboken6/tests/libsample/objecttypeholder.h @@ -11,8 +11,10 @@ class LIBSAMPLE_API ObjectTypeHolder { public: + LIBMINIMAL_DISABLE_COPY_MOVE(ObjectTypeHolder) + explicit ObjectTypeHolder(const char *objectName); - explicit ObjectTypeHolder(const ObjectType *object = ObjectType::defaultInstance()); + explicit ObjectTypeHolder(const ObjectType *object) noexcept; virtual ~ObjectTypeHolder(); const ObjectType *getObjectType() const { return m_objectType; } |