From c85e251f0a6d0da1380f6ac5edc151bc75e74f71 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 7 Jan 2012 17:11:17 +0000 Subject: add operator!= for BBT_Time git-svn-id: svn://localhost/ardour2/branches/3.0@11188 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/timecode/timecode/bbt_time.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/timecode') 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; + } }; } -- cgit v1.2.3