diff --git a/autotests/libinput/mock_libinput.h b/autotests/libinput/mock_libinput.h index c0bfaf6218..65e9d64df3 100644 --- a/autotests/libinput/mock_libinput.h +++ b/autotests/libinput/mock_libinput.h @@ -100,6 +100,7 @@ struct libinput_device { }; struct libinput_event { + virtual ~libinput_event() {} libinput_device *device = nullptr; libinput_event_type type = LIBINPUT_EVENT_NONE; quint32 time = 0;