# HG changeset patch # User Chris Cannam # Date 1552474482 0 # Node ID e8099be647261f0acc599d7e0ddc827bdb5ee0ed # Parent 05e3ea2237f5af877732acd4a95246bd6a8c0d51 Make const diff -r 05e3ea2237f5 -r e8099be64726 base/Event.h --- a/base/Event.h Wed Mar 13 10:01:14 2019 +0000 +++ b/base/Event.h Wed Mar 13 10:54:42 2019 +0000 @@ -265,7 +265,7 @@ } NoteData toNoteData(sv_samplerate_t sampleRate, - bool valueIsMidiPitch) { + bool valueIsMidiPitch) const { sv_frame_t duration; if (m_haveDuration && m_duration > 0) {