summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_scene_change.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-11-10 21:11:22 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-11-10 23:16:53 -0500
commit3d0efb8bf7b5fe2c3d73359f278bb74eaa7ddc41 (patch)
tree9f44080e134cb5ce4dc613a59d7a155be6accedf /libs/ardour/midi_scene_change.cc
parent12b715e6fa0b99f755ced1139532218d98b01e37 (diff)
add operator== to ARDOUR::MidiSceneChange
Diffstat (limited to 'libs/ardour/midi_scene_change.cc')
-rw-r--r--libs/ardour/midi_scene_change.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/midi_scene_change.cc b/libs/ardour/midi_scene_change.cc
index dae8acfc21..edcc8a658d 100644
--- a/libs/ardour/midi_scene_change.cc
+++ b/libs/ardour/midi_scene_change.cc
@@ -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;
+}