diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-07 17:11:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-07 17:11:17 +0000 |
commit | c85e251f0a6d0da1380f6ac5edc151bc75e74f71 (patch) | |
tree | 78a6916149c4961dcbe8b6b76b519ec1bbf6d1fb /libs | |
parent | c9de3c5a16532ccc6b5e3bbd4921d0173ce58a86 (diff) |
add operator!= for BBT_Time
git-svn-id: svn://localhost/ardour2/branches/3.0@11188 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/timecode/timecode/bbt_time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/timecode/timecode/bbt_time.h b/libs/timecode/timecode/bbt_time.h index 50a67f3d79..b8be0774bd 100644 --- a/libs/timecode/timecode/bbt_time.h +++ b/libs/timecode/timecode/bbt_time.h @@ -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; + } }; } |