When building with MSVC, allow for the fact that Mixbus and Ardour can be using diffe...
[ardour.git] / libs / ardour / solo_control.cc
index 0b07f88c6b3ada4cc26320ec61733b6a868d66fa..9d898493dc0b1b8e198785437543023cb12389c6 100644 (file)
@@ -259,8 +259,10 @@ SoloControl::get_state ()
 }
 
 void
-SoloControl::master_changed (bool /*from self*/, GroupControlDisposition, boost::shared_ptr<AutomationControl> m)
+SoloControl::master_changed (bool /*from self*/, GroupControlDisposition, boost::weak_ptr<AutomationControl> wm)
 {
+       boost::shared_ptr<AutomationControl> m = wm.lock ();
+       assert (m);
        bool send_signal = false;
 
        _transition_into_solo = 0;