Commit b7389c6f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Vlad Zahorodnii
Browse files

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

parent 110182b2
...@@ -100,6 +100,7 @@ struct libinput_device { ...@@ -100,6 +100,7 @@ struct libinput_device {
}; };
struct libinput_event { struct libinput_event {
virtual ~libinput_event() {}
libinput_device *device = nullptr; libinput_device *device = nullptr;
libinput_event_type type = LIBINPUT_EVENT_NONE; libinput_event_type type = LIBINPUT_EVENT_NONE;
quint32 time = 0; quint32 time = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment