1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

Fixed a compilation error in the MIDI device unit tests when JUCE_MODAL_LOOPS_PERMITTED is disabled

This commit is contained in:
ed 2019-03-07 11:19:57 +00:00
parent 91ef9e2b85
commit db23cedf94

View file

@ -224,6 +224,7 @@ void MidiOutput::run()
expect (device->getName() == testDeviceName);
}
#if JUCE_MODAL_LOOPS_PERMITTED
auto testMessage = MidiMessage::noteOn (5, 12, (uint8) 51);
beginTest ("send messages");
@ -253,6 +254,8 @@ void MidiOutput::run()
midiInput->stop();
}
#endif
#endif
}
};