diff options
author | André Nusser <andre.nusser@googlemail.com> | 2020-02-17 23:50:35 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2020-02-23 13:46:28 +0100 |
commit | 95ca5bc0c29d1cb3e7a16904dfe3790513870bc7 (patch) | |
tree | eae40d875c9bac5a8b1174f7d686ef595ad675d1 /src/events_ds.cc | |
parent | ddc4ee9be5fc63e8a10464d2eaa3bbd3958ee408 (diff) |
Change channel type to channel_t in EventsDS and introduce new assert.
Diffstat (limited to 'src/events_ds.cc')
-rw-r--r-- | src/events_ds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events_ds.cc b/src/events_ds.cc index 1d86b0a..097ddc1 100644 --- a/src/events_ds.cc +++ b/src/events_ds.cc @@ -56,7 +56,7 @@ void EventsDS::remove(EventID event_id) id_to_info.remove(event_id); } -std::size_t EventsDS::numberOfEvents(int ch) const +std::size_t EventsDS::numberOfEvents(channel_t ch) const { auto& channel_data = channel_data_array[ch]; return channel_data.sample_events.size(); |