mirror of https://github.com/qt/qtbase.git
winrt: Fix compiler warning
The drag event handler classes should have virtual destructors. Change-Id: Ia011856eec37ed303649a1eda036c52f5fa9f8e5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
1d9270ee42
commit
374e0223c2
|
@ -504,6 +504,8 @@ static HRESULT qt_drop(IInspectable *sender, ABI::Windows::UI::Xaml::IDragEventA
|
|||
class QtDragEventHandler##name : public IDragEventHandler \
|
||||
{ \
|
||||
public: \
|
||||
virtual ~QtDragEventHandler##name() {\
|
||||
}\
|
||||
STDMETHODIMP Invoke(IInspectable *sender, \
|
||||
ABI::Windows::UI::Xaml::IDragEventArgs *e) \
|
||||
{ \
|
||||
|
|
Loading…
Reference in New Issue