summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/chan_mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/chan_mapping.h')
-rw-r--r--libs/ardour/ardour/chan_mapping.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/chan_mapping.h b/libs/ardour/ardour/chan_mapping.h
index baa3e9f6a9..2659c556a2 100644
--- 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;
};