diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-02-16 21:36:24 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2020-02-23 13:45:25 +0100 |
commit | 43da08a1e3620cc296d27ef5cdf387693b063c68 (patch) | |
tree | 74f75cafd661c0748f3c5856697cec12acdb39e1 /src/events.h | |
parent | cdc96aae4393f0cba0e274efcccc95bc25c5bbdd (diff) |
Fix style, minor code fixes, and add review comments.
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; |