summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/eventSourceBase.h2
1 files changed, 2 insertions, 0 deletions
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 <memory>
namespace MyGrate {
class EventSourceBase {
@@ -9,6 +10,7 @@ namespace MyGrate {
virtual ~EventSourceBase() = default;
virtual void readEvents(EventHandlerBase &) = 0;
};
+ using EventSourceBasePtr = std::unique_ptr<EventSourceBase>;
}
#endif