summaryrefslogtreecommitdiff
path: root/src/events.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-02-16 21:36:24 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2020-02-23 13:45:25 +0100
commit43da08a1e3620cc296d27ef5cdf387693b063c68 (patch)
tree74f75cafd661c0748f3c5856697cec12acdb39e1 /src/events.h
parentcdc96aae4393f0cba0e274efcccc95bc25c5bbdd (diff)
Fix style, minor code fixes, and add review comments.
Diffstat (limited to 'src/events.h')
-rw-r--r--src/events.h5
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;