summaryrefslogtreecommitdiffstats
path: root/src/core/changes/qcomponentaddedchange.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/changes/qcomponentaddedchange.h')
-rw-r--r--src/core/changes/qcomponentaddedchange.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/changes/qcomponentaddedchange.h b/src/core/changes/qcomponentaddedchange.h
index 481f64233..73d3572b3 100644
--- a/src/core/changes/qcomponentaddedchange.h
+++ b/src/core/changes/qcomponentaddedchange.h
@@ -53,8 +53,9 @@ class QComponentAddedChangePrivate;
class QT3DCORESHARED_EXPORT QComponentAddedChange : public QSceneChange
{
public:
- QComponentAddedChange(const QEntity *entity,
- const QComponent *component);
+ explicit QComponentAddedChange(const QEntity *entity,
+ const QComponent *component);
+ ~QComponentAddedChange();
QNodeId entityId() const Q_DECL_NOEXCEPT;
QNodeId componentId() const Q_DECL_NOEXCEPT;