diff base/Event.h @ 1637:e8099be64726 single-point

Make const
author Chris Cannam
date Wed, 13 Mar 2019 10:54:42 +0000
parents 687a2453cc15
children 751a52865270
line wrap: on
line diff
--- 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) {