From b46daccc29155e602333756d4459a199a4e0fb2e Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Sat, 7 Jan 2017 19:55:20 +0000 Subject: [PATCH] Fix ODR violation of EventQueueTimer base class --- src/lib/base/SimpleEventQueueBuffer.cpp | 2 ++ src/lib/base/SimpleEventQueueBuffer.h | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/base/SimpleEventQueueBuffer.cpp b/src/lib/base/SimpleEventQueueBuffer.cpp index 66463478..b8603403 100644 --- a/src/lib/base/SimpleEventQueueBuffer.cpp +++ b/src/lib/base/SimpleEventQueueBuffer.cpp @@ -20,6 +20,8 @@ #include "base/Stopwatch.h" #include "arch/Arch.h" +class EventQueueTimer { }; + // // SimpleEventQueueBuffer // diff --git a/src/lib/base/SimpleEventQueueBuffer.h b/src/lib/base/SimpleEventQueueBuffer.h index d4f9efb1..863c3c17 100644 --- a/src/lib/base/SimpleEventQueueBuffer.h +++ b/src/lib/base/SimpleEventQueueBuffer.h @@ -50,9 +50,3 @@ private: EventDeque m_queue; }; -class EventQueueTimer -{ -public: - EventQueueTimer() { } - virtual ~EventQueueTimer() { } -};