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:
Paul Davis 2012-01-07 17:11:17 +00:00
parent c9de3c5a16
commit c85e251f0a

View File

@ -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;
}
};
}