diff options
Diffstat (limited to 'src/events.h')
-rw-r--r-- | src/events.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/events.h b/src/events.h index 1b3c376..e673329 100644 --- a/src/events.h +++ b/src/events.h @@ -53,14 +53,15 @@ using EventIDs = std::vector<EventID>; class Event { public: - enum class Type { + enum class Type + { SampleEvent, }; Event(Type type, channel_t channel, timepos_t offset = 0) : type(type), channel(channel), offset(offset) {} - virtual ~Event() {} + virtual ~Event() = default; EventID id; EventGroupID group_id; |