summaryrefslogtreecommitdiffstats
path: root/src/render/lights
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-14 09:32:38 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-19 07:03:24 +0000
commitf1a018c657d98b2e22436a083cc4a6821ea0f0ad (patch)
tree601e93b73d5abebf3e0a652826cd2cbf8323b80f /src/render/lights
parent77cf73d8516ded4c9f76271907ab49be74efcdd3 (diff)
De-inline some more dtors of non-leaf Private classes
Change-Id: I2d80f964c4de6ef6cef144ca50fa12ffb3eb540c Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/lights')
-rw-r--r--src/render/lights/qabstractlight.cpp4
-rw-r--r--src/render/lights/qabstractlight_p.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/render/lights/qabstractlight.cpp b/src/render/lights/qabstractlight.cpp
index e3d0d86bf..0f8e5c19f 100644
--- a/src/render/lights/qabstractlight.cpp
+++ b/src/render/lights/qabstractlight.cpp
@@ -61,6 +61,10 @@ QAbstractLightPrivate::QAbstractLightPrivate(QAbstractLight::Type type)
m_shaderData->setProperty("type", type);
}
+QAbstractLightPrivate::~QAbstractLightPrivate()
+{
+}
+
Qt3DCore::QNodeCreatedChangeBasePtr QAbstractLight::createNodeCreationChange() const
{
auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QAbstractLightData>::create(this);
diff --git a/src/render/lights/qabstractlight_p.h b/src/render/lights/qabstractlight_p.h
index 1e5ce588f..bfab787a3 100644
--- a/src/render/lights/qabstractlight_p.h
+++ b/src/render/lights/qabstractlight_p.h
@@ -64,6 +64,7 @@ class Q_AUTOTEST_EXPORT QAbstractLightPrivate : public Qt3DCore::QComponentPriva
{
public:
explicit QAbstractLightPrivate(QAbstractLight::Type type);
+ ~QAbstractLightPrivate();
Q_DECLARE_PUBLIC(QAbstractLight)
QAbstractLight::Type m_type;