projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2886836
)
add ChanMapping comparator
author
Robin Gareus
<robin@gareus.org>
Sun, 27 Mar 2016 15:36:18 +0000
(17:36 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 27 Mar 2016 15:36:18 +0000
(17:36 +0200)
libs/ardour/ardour/chan_mapping.h
patch
|
blob
|
history
diff --git
a/libs/ardour/ardour/chan_mapping.h
b/libs/ardour/ardour/chan_mapping.h
index baa3e9f6a9bfc63847e2485cc086a802ecd49b9c..2659c556a2480ef87b4499a903077b457e79547a 100644
(file)
--- a/
libs/ardour/ardour/chan_mapping.h
+++ b/
libs/ardour/ardour/chan_mapping.h
@@
-52,6
+52,14
@@
public:
Mappings mappings() { return _mappings; }
const Mappings mappings() const { return _mappings; }
+ bool operator==(const ChanMapping& other) const {
+ return (_mappings == other._mappings);
+ }
+
+ bool operator!=(const ChanMapping& other) const {
+ return ! (*this == other);
+ }
+
private:
Mappings _mappings;
};