From 5454bd46bc33366de4b49509d8fe7027fd7ec697 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Wed, 21 May 2014 08:29:47 +0200 Subject: [PATCH] No longer needs a power of two. --- res/Examples/MIDI_SimpleSynth/noteList.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/res/Examples/MIDI_SimpleSynth/noteList.h b/res/Examples/MIDI_SimpleSynth/noteList.h index 559edc8..6d5885c 100644 --- a/res/Examples/MIDI_SimpleSynth/noteList.h +++ b/res/Examples/MIDI_SimpleSynth/noteList.h @@ -145,8 +145,6 @@ inline typename MidiNoteList::Cell& MidiNoteList::Cell::operator= (c template inline MidiNoteList::MidiNoteList() { - // Check that size is a power of two - //AVR_STATIC_ASSERT(Size != 0 && !(Size & (Size - 1))); } template