Sequencer: Work around internal compiler error bug in GCC 4.8.

This commit is contained in:
Jonathan Moore Liles 2013-07-31 21:26:06 -07:00
parent 9837a8f3f7
commit e6d153c13c
2 changed files with 7 additions and 6 deletions

View File

@ -102,6 +102,13 @@ midievent::note ( char note )
_data.lsb = note & 0x7F; _data.lsb = note & 0x7F;
} }
unsigned char
midievent::note ( void ) const
{
return _data.lsb;
}
unsigned char unsigned char
midievent::note_velocity ( void ) const midievent::note_velocity ( void ) const
{ {

View File

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