add operator== to ARDOUR::MidiSceneChange
[ardour.git] / libs / ardour / midi_scene_change.cc
index dae8acfc2164780c88a3bdd6b96a75d86654ec97..edcc8a658d2faf4e6dfdbeac2b5ddf6f15f6f57f 100644 (file)
@@ -140,3 +140,11 @@ MIDISceneChange::set_state (const XMLNode& node, int /* version-ignored */)
 
        return 0;
 }
+
+bool
+MIDISceneChange::operator==(const MIDISceneChange& other) const
+{
+        return _program == other._program &&
+                _bank == other._bank &&
+                _channel == other._channel;
+}