Sequencer: Cover up bug in gcc-4.8.
This commit is contained in:
parent
03fcf31311
commit
f68232ab5c
|
@ -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 );
|
||||
|
||||
|
|
|
@ -99,6 +99,12 @@ namespace MIDI
|
|||
_data.msb = vel & 0x7F;
|
||||
}
|
||||
|
||||
unsigned char
|
||||
midievent::note ( void ) const
|
||||
{
|
||||
return _data.lsb;
|
||||
}
|
||||
|
||||
void
|
||||
midievent::note ( char note )
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue