Sequencer: Cover up bug in gcc-4.8.

This commit is contained in:
Jonathan Moore Liles 2013-06-26 17:17:11 -07:00
parent 03fcf31311
commit f68232ab5c
3 changed files with 8 additions and 8 deletions

View File

@ -74,8 +74,8 @@ namespace MIDI
void deselect ( void );
bool selected ( int n ) const;
bool selected ( void ) const;
void note ( char note );
unsigned char note ( void ) const;
virtual void note ( char note );
virtual unsigned char note ( void ) const;
tick_t note_duration ( void ) const;
void note_duration ( tick_t l );

View File

@ -99,6 +99,12 @@ namespace MIDI
_data.msb = vel & 0x7F;
}
unsigned char
midievent::note ( void ) const
{
return _data.lsb;
}
void
midievent::note ( char note )
{

View File

@ -222,12 +222,6 @@ namespace MIDI
return (opcode() == NOTE_OFF);
}
inline unsigned char
midievent::note ( void ) const
{
return _data.lsb;
}
inline bool
midievent::operator< ( const midievent &rhs ) const
{