summaryrefslogtreecommitdiffstats
path: root/src/logic
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-13 12:30:15 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-14 16:02:45 +0000
commit881fbf9a89b12669178987e5b4c58fedfb8eb9ff (patch)
treedbe23cb308f3cb53a780205224ef20027845255f /src/logic
parent361660533d0cba9e1ec7667724522a7724c5fb1b (diff)
De-inline dtors of aspect classes
Costs 170B each in Logic, Render, Input, but otherwise we'll not be able to add code to the dtors down the line until Qt 6. Change-Id: Icf71bd959f2efa3c67bccaf166569e06a013fef1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/qlogicaspect.cpp5
-rw-r--r--src/logic/qlogicaspect.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/logic/qlogicaspect.cpp b/src/logic/qlogicaspect.cpp
index af2053ba8..9a9627259 100644
--- a/src/logic/qlogicaspect.cpp
+++ b/src/logic/qlogicaspect.cpp
@@ -96,6 +96,11 @@ QLogicAspect::QLogicAspect(QLogicAspectPrivate &dd, QObject *parent)
d_func()->m_manager->setLogicAspect(this);
}
+/*! \internal */
+QLogicAspect::~QLogicAspect()
+{
+}
+
QVector<QAspectJobPtr> QLogicAspect::jobsToExecute(qint64 time)
{
Q_D(QLogicAspect);
diff --git a/src/logic/qlogicaspect.h b/src/logic/qlogicaspect.h
index 4eb90bbca..3dcd97773 100644
--- a/src/logic/qlogicaspect.h
+++ b/src/logic/qlogicaspect.h
@@ -54,6 +54,7 @@ class QT3DLOGICSHARED_EXPORT QLogicAspect : public Qt3DCore::QAbstractAspect
Q_OBJECT
public:
explicit QLogicAspect(QObject *parent = nullptr);
+ ~QLogicAspect();
QVector<Qt3DCore::QAspectJobPtr> jobsToExecute(qint64 time) Q_DECL_OVERRIDE;