From 460f5df8380e35989dbd64376fecf9c14a2ea2b0 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sat, 30 May 2020 22:41:26 +0300 Subject: [PATCH] test: Fix undefined behavior of deleting incomplete type --- src/test/global/TestEventQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/global/TestEventQueue.h b/src/test/global/TestEventQueue.h index a6cf0caa..b9325081 100644 --- a/src/test/global/TestEventQueue.h +++ b/src/test/global/TestEventQueue.h @@ -19,7 +19,7 @@ #include "base/EventQueue.h" -class EventQueueTimer; +class EventQueueTimer {}; class TestEventQueue : public EventQueue { public: