Fix C++11ism, enums are not classes in C++98
This commit is contained in:
parent
68e3d3d672
commit
838279c5e8
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user