qnetconmonitor_win: Mark destructors virtual
After these two classes were no longer marked final clang started complaining because their dtor is not marked virtual. Amends 9dc594b2bf3572aa5df3ec3ad2b9842c96e8290d Change-Id: I42b78c0b444935d3e0cb4d476d3881fd5fb5c3cb Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
29e40c1f6f
commit
af1c3bf884
@ -103,7 +103,7 @@ class QNetworkConnectionEvents : public INetworkConnectionEvents
|
||||
{
|
||||
public:
|
||||
QNetworkConnectionEvents(QNetworkConnectionMonitorPrivate *monitor);
|
||||
~QNetworkConnectionEvents();
|
||||
virtual ~QNetworkConnectionEvents();
|
||||
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override;
|
||||
|
||||
@ -471,7 +471,7 @@ class QNetworkListManagerEvents : public INetworkListManagerEvents
|
||||
{
|
||||
public:
|
||||
QNetworkListManagerEvents(QNetworkStatusMonitorPrivate *monitor);
|
||||
~QNetworkListManagerEvents();
|
||||
virtual ~QNetworkListManagerEvents();
|
||||
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user