No longer needs a power of two.
This commit is contained in:
parent
49fa0295e3
commit
5454bd46bc
|
|
@ -145,8 +145,6 @@ inline typename MidiNoteList<Size>::Cell& MidiNoteList<Size>::Cell::operator= (c
|
||||||
template<byte Size>
|
template<byte Size>
|
||||||
inline MidiNoteList<Size>::MidiNoteList()
|
inline MidiNoteList<Size>::MidiNoteList()
|
||||||
{
|
{
|
||||||
// Check that size is a power of two
|
|
||||||
//AVR_STATIC_ASSERT(Size != 0 && !(Size & (Size - 1)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<byte Size>
|
template<byte Size>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue