mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
add ChanMapping comparator
This commit is contained in:
parent
28868363fa
commit
6e0bc5d694
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue