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>
This commit is contained in:
committed by
The Qt Project
parent
b2f40ef75d
commit
d45a02e8c9
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user