summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-02-28 23:19:38 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-01 14:10:01 +0100
commitd45a02e8c9963279060b960c77bf049205b8fffc (patch)
treef6fe95ec84f26c452e735eca856d90ad112c3eed /src
parentb2f40ef75dac238be650b5ade013d39d6a741871 (diff)
Add missing virtual destructor for new class
qmediaserviceproviderplugin.h:166:28: error: ‘struct QMediaServiceCameraInfoInterface’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] Change-Id: I08c6718bfd87c5adeea9969afdd4766150163238 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/multimedia/qmediaserviceproviderplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/qmediaserviceproviderplugin.h b/src/multimedia/qmediaserviceproviderplugin.h
index 2c276beed..9563611d3 100644
--- a/src/multimedia/qmediaserviceproviderplugin.h
+++ b/src/multimedia/qmediaserviceproviderplugin.h
@@ -165,6 +165,7 @@ Q_DECLARE_INTERFACE(QMediaServiceDefaultDeviceInterface, QMediaServiceDefaultDev
struct Q_MULTIMEDIA_EXPORT QMediaServiceCameraInfoInterface
{
+ virtual ~QMediaServiceCameraInfoInterface() {}
virtual QCamera::Position cameraPosition(const QByteArray &device) const = 0;
virtual int cameraOrientation(const QByteArray &device) const = 0;
};