remove PBD::Connection (replace use with PBD::ScopedConnection); remove limitation...
[ardour.git] / libs / surfaces / generic_midi / generic_midi_control_protocol.h
index 050bde5050b5639bbbbc192b51bd33484d47a1b5..e0867fad7808916a5389988234c17c0d9b905c3d 100644 (file)
@@ -94,7 +94,7 @@ class GenericMidiControlProtocol : public ARDOUR::ControlProtocol {
        typedef std::list<MIDIFunction*> MIDIFunctions;
        MIDIFunctions functions;
 
-       typedef std::pair<MIDIControllable*,PBD::Connection> MIDIPendingControllable;
+       typedef std::pair<MIDIControllable*,PBD::ScopedConnection> MIDIPendingControllable;
        typedef std::list<MIDIPendingControllable* > MIDIPendingControllables;
        MIDIPendingControllables pending_controllables;
        Glib::Mutex controllables_lock;