mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
add operator!= for BBT_Time
git-svn-id: svn://localhost/ardour2/branches/3.0@11188 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c9de3c5a16
commit
c85e251f0a
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ struct BBT_Time {
|
|||
bool operator== (const BBT_Time& other) const {
|
||||
return bars == other.bars && beats == other.beats && ticks == other.ticks;
|
||||
}
|
||||
|
||||
bool operator!= (const BBT_Time& other) const {
|
||||
return bars != other.bars || beats != other.beats || ticks != other.ticks;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue