aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2017-12-08 03:11:56 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2017-12-08 03:11:56 +0300
commit03ae1603df780d1f66862b7ea96c66a277452eb8 (patch)
treefb4f1a2dddc668f8230f2b3b153985f9702e2653 /src/adlmidi_private.hpp
parent30952a0a88f31000fa3b2329c6d16f215a30f282 (diff)
downloadlibADLMIDI-03ae1603df780d1f66862b7ea96c66a277452eb8.tar.gz
libADLMIDI-03ae1603df780d1f66862b7ea96c66a277452eb8.tar.bz2
libADLMIDI-03ae1603df780d1f66862b7ea96c66a277452eb8.zip
Return back the "const" attribute to CalculateAdlChannelGoodness
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 6ab9437..f906ad2 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -936,7 +936,7 @@ private:
// Determine how good a candidate this adlchannel
// would be for playing a note from this instrument.
- long CalculateAdlChannelGoodness(unsigned c, const MIDIchannel::NoteInfo::Phys &ins, uint16_t /*MidCh*/);
+ long CalculateAdlChannelGoodness(unsigned c, const MIDIchannel::NoteInfo::Phys &ins, uint16_t /*MidCh*/) const;
// A new note will be played on this channel using this instrument.
// Kill existing notes on this channel (or don't, if we do arpeggio)