add operator!= for BBT_Time
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 17:11:17 +0000 (17:11 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 17:11:17 +0000 (17:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11188 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/timecode/timecode/bbt_time.h

index 50a67f3d79dd2ac13b1e5896a8910d6051fb7d86..b8be0774bdd436b708662bc7113e343b1bb7b57b 100644 (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;
+       }
 };
        
 }