libinput tests: Fix new-delete-type-mismatch error when using ASAN

This commit is contained in:
Aleix Pol 2021-05-13 02:03:57 +02:00 committed by Vlad Zahorodnii
parent 110182b213
commit b7389c6f1a

View file

@ -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;