projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add operator== to ARDOUR::MidiSceneChange
[ardour.git]
/
libs
/
ardour
/
midi_scene_change.cc
diff --git
a/libs/ardour/midi_scene_change.cc
b/libs/ardour/midi_scene_change.cc
index dae8acfc2164780c88a3bdd6b96a75d86654ec97..edcc8a658d2faf4e6dfdbeac2b5ddf6f15f6f57f 100644
(file)
--- 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;
+}