diff options
author | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2014-10-28 07:30:15 +0200 |
---|---|---|
committer | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2014-11-10 15:05:27 +0100 |
commit | adc12b2ef322e59a7c65600da91e8b642a94b187 (patch) | |
tree | a5f74445134ef13a95c01b414ff713e700812f12 /src/compositor/wayland_wrapper/qwlqttouch.cpp | |
parent | 23ecb57e11bea42c2e90d280b21b6ee448a9afff (diff) |
QWaylandInputDevice: Fix missing virtual destructor declaration
QWaylandInputDevice recently gained a virtual function, making it a
polymorphic class. It should thus have a virtual destructor as well.
Discovered through a GCC diagnostic:
warning: deleting object of polymorphic class type 'QWaylandInputDevice' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
Change-Id: Ie816caabea56cde320768dcc8aba6b5ad50bf4c1
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlqttouch.cpp')
0 files changed, 0 insertions, 0 deletions