From 6c00c01432565758ef9dd7ef382c742375fe1ae3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 1 Jun 2021 23:07:38 +0100 Subject: Add event source ptr typedef --- lib/eventSourceBase.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/eventSourceBase.h b/lib/eventSourceBase.h index 52545df..6d512b2 100644 --- a/lib/eventSourceBase.h +++ b/lib/eventSourceBase.h @@ -2,6 +2,7 @@ #define MYGRATE_EVENTSOURCEBASE_H #include "eventHandlerBase.h" +#include namespace MyGrate { class EventSourceBase { @@ -9,6 +10,7 @@ namespace MyGrate { virtual ~EventSourceBase() = default; virtual void readEvents(EventHandlerBase &) = 0; }; + using EventSourceBasePtr = std::unique_ptr; } #endif -- cgit v1.2.3