13
0

Fix C++11ism, enums are not classes in C++98

This commit is contained in:
Robin Gareus 2021-06-24 18:14:06 +02:00
parent 68e3d3d672
commit 838279c5e8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -66,7 +66,7 @@ MidiTracer::MidiTracer ()
g_atomic_int_set (&_update_queued, 0);
std::string portname (string_compose(X_("MIDI Tracer %1"), ++window_count));
tracer_port = ARDOUR::AudioEngine::instance()->register_input_port (ARDOUR::DataType::MIDI, portname, false, ARDOUR::PortFlags::IsInput);
tracer_port = ARDOUR::AudioEngine::instance()->register_input_port (ARDOUR::DataType::MIDI, portname, false, ARDOUR::IsInput);
ARDOUR::AudioEngine::instance()->PortRegisteredOrUnregistered.connect
(_manager_connection, invalidator (*this), boost::bind (&MidiTracer::ports_changed, this), gui_context());